Starting March 31, 50% of Firefox beta 138 users will have the change where <h1> always has the same UA style, even in article, aside, nav, section.
Also, Lighthouse will fail a check if you have an <h1> without font-size specified.
Advice for web developers:
Context:
<h1>โ<h6>: The HTML Section Heading elements - HTML | MDN
The <h1> to <h6> HTML elements represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest. By default, all ...
Mastodon
Simon Pieters (@zcorpan@mastodon.social)
The backstory here is
- h1 was specified to have automatic heading level based on the number of ancestor sections (or aside, article, nav).
- The ...