News for hackers. Stuff that matters.
Re:Default styles for h1 elements are changing by Ferret7446 on Friday April 11, 2025 @05:56AM (#43652197)
Wow, this will actually break my site.

https://www.felesatra.moe/about

The "old" behavior is great because you don't need global knowledge; you can have a snippet that gets templated into various layers and still getting the right level of heading applied.

Re:Default styles for h1 elements are changing by zcorpan on Friday April 11, 2025 @06:18AM (#43652312)
It only worked visually. For screen reader users, all headings are level 1. If you switch to using h2 etc, it will be more accessible.
Re:Default styles for h1 elements are changing by Ferret7446 on Friday April 11, 2025 @06:28AM (#43652357)
That's a problem with the screen reader implementation. At least, according to the previous semantics.
Re:Default styles for h1 elements are changing by AlienRobot on Friday April 11, 2025 @09:21AM (#43653466)
It was a problem with the screen reader implementation in 2009 when the semantics were introduced.

In 2025 if no screen reader works right it's a problem with the spec.

Re:Default styles for h1 elements are changing by zcorpan on Friday April 11, 2025 @11:10AM (#43654698)
As of 2022 (when the outline algorithm was removed from the spec), it's a problem with your website implementation.
Re:Default styles for h1 elements are changing by pyinstallwoes on Friday April 11, 2025 @05:59AM (#43652218)
Yeah exactly. It makes a lot more sense to treat headers automatically.