> Having your headings in semantic order is fantastic for screen readers, but from Google Search perspective, it doesn't matter if you're using them out of order. The web in general is not valid HTML, so Google Search can rarely depend on semantic meanings hidden in the HTML specification.
And a typical business web page likely won't have many "automated processes" it wants to accommodate except for search engine crawlers.
[0] https://developers.google.com/search/docs/fundamentals/seo-s...
It says that the order of h* tags is not relevant. Which was also part of Html5 Outline spec.
H* tags are not the only semantic tags.
So it could also mean that they work with Html5 outline spec and value semantic tags, which allows them to ignore the order of h* tags.
So them saying that they ignore the order of h doesnt necessarily means that they ignore all semantic tags.
Unless you have explicit statements or hard evidence to the contrary?
I'm sure it's true for lots of other elements.
[0] https://developer.mozilla.org/en-US/docs/Web/CSS/display
It'd be a weird structural language you could really only express whether something is a block or inline.
Life’s too short is a cop-out especially because it doesn’t take longer to use a semantic tag rather than a div.
With “life’s too short” you can justify pretty much everything.
Also, you have to remember whether any of them might have a different default style in the browser than what you'd get from a regular div/span.
But don't take my word on any specific examples, I don't have any real experience outside of normal web React (which does give you full control over the HTML elements, except of course for third-party components).
Yeah I gave up on that fight a long, long time ago. The semantic web was an admirable dream that never had a chance.
That means that as a client I am not empowered to automatically display your content in a new way.
And why would you display a TOC differently as a client? A TOC is a list of items and should be displayed as that imo.
I want the niceness of Wikipedia generalized elsewhere but abstracted by my client or browser. The more we agree on the precise meaning of elements, the more we are empowered to programatically redesign or interact with content.