Hello,
I hope you are doing well. I understand that after posting a new blog post or page, you always use the validator.w3.org tool to verify it. Unfortunately, the tool has been flagging a particular issue as an “Info” notification: “Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.”
To resolve this issue, you are requesting to remove the slash “/>” from these HTML elements: “.
Although this is not an error, you prefer to remove as many “Info” comments as possible to ensure that your page or post is correctly validated without any ambiguity. I will make the changes as requested to ensure that these HTML elements conform to the W3C standards. Let me know if you have any other questions or requests.
If you want to get this in front of the core devs, post a ticket at https://core.trac.wordpress.org/.
Hello,
I understand that you are concerned about the trailing slash on void elements, and you agree that it should be removed from any code that ends up in an HTML or HTML-AMP page. The issue has been deprecated for years, and it has no effect on the attribute values.
To resolve this issue, you are requesting to remove the slash “/>” and replace it with “>” for the following HTML elements: <meta, <link, <input, <img.
I completely agree with you, and I will make sure to remove the slash from these elements so that they conform to the W3C standards and improve the code's readability. Please let me know if you have any further suggestions or questions.