Martin Splitt from Google seemed almost upset by advice he saw someone was given around how to use HTML headings or Hx tags on a page. An SEO was told to use H3 tags for level-2 subheading. So what this person did was was make a style for h3 aria-level="2"!
See update below:
Martin Splitt responded to that on Twitter saying "That's not true. Please don't let people tell you that kind of stuff."
Here is the original post:
`
` because of SEO saying level-2 subheading should be `h3` ๐คฌโ Gunnar Bittersmann (@g16n) December 18, 2019
Here is how Martin responded:
That's not true. Please don't let people tell you that kind of stuff ๐
โ ๐Martin Splitt is on staycation ๐ (@g33konaut) December 18, 2019
The web has a lot of weird HTML that does not follow any specific convention - so relax.
Forum discussion at Twitter.
Update: More from Martin:
I mean... Why slap aria on something that has a better, semantic alternative... And citing seo myths as a justification... Noooo
โ ๐Martin Splitt is on staycation ๐ (@g33konaut) December 26, 2019
Update 2:
Ah, also note: In the tweet I don't say heading levels don't matter. What doesn't make sense is obsessing over them and encouraging (or in that case: requesting) developers to write HTML that doesn't make sense from an accessibility standpoint on the grounds of wrong SEO myths
— ๐Martin Splitt is on staycation ๐ (@g33konaut) December 27, 2019