Anyone else notice that all of a sudden, the w3c validator is complaining about ALL self closing tags?
I had one page knew I had a few css errors to fix, so I did that and reran the page and it is full of errors.
Now the entire site is showing a long list of self closing errors, and I am 100% sure the site was fine a few days ago as I had run all the pages through the validator to verify them and was down to the one page I mentioned above.
Here is just a few examples with content removed:
Self-closing tag syntax in text/html documents is widely discouraged; it’s unnecessary and interacts badly with other HTML features (e.g., unquoted attribute values). If you’re using a tool that injects self-closing tag syntax into all void elements, without any option to prevent it from doing so, then consider switching to a different tool.
From line 9, column 5; to line 9, column 113
php">↩ <meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' />Self-closing tag syntax in text/html documents is widely discouraged; it’s unnecessary and interacts badly with other HTML features (e.g., unquoted attribute values). If you’re using a tool that injects self-closing tag syntax into all void elements, without any option to prevent it from doing so, then consider switching to a different tool.
From line 13, column 2; to line 13, column 185
</title>↩ <meta name="description" content="content removed" />↩If you notice what some of them are, these are metas etc, and NONE of them were there 09-23 or 09-24 when I checked the site, page by page.Self-closing tag syntax in text/html documents is widely discouraged; it’s unnecessary and interacts badly with other HTML features (e.g., unquoted attribute values). If you’re using a tool that injects self-closing tag syntax into all void elements, without any option to prevent it from doing so, then consider switching to a different tool.
From line 14, column 2; to line 14, column 121
mes." />↩ <link rel="canonical" href="content removed" />↩
I have only just noticed this, and have not researched it much yet, but I have found this stackexchange article, that mentions it is not a verified standard yet.
To me this almost makes the validator completely useless.
I would be interested in hearing comments from anyone that has recently ran the validator on your sites and knew everything was fine and now suddenly its not.
Check your site guys, my guess is almost everyone's metas etc now all have errors that were not there last week.
If this is in fact becoming a standard, certainly yoast, rank math etc will need to update.
I do not always use self closing tags, but have very often used them for line breaks and some times in other areas as it has been an acceptable standard...for well a long time.
Rick
Universal4


LinkBack URL
About LinkBacks
Reply With Quote

