jaffathecake,
@jaffathecake@mastodon.social avatar

It's such a mess that we still can't use headings in HTML fragments, and have the heading structure be local to that part of the document.

It's so shit that browsers shipped the styling part of <section> + <h1> but not the accessibility part. That was the important bit.

jaffathecake,
@jaffathecake@mastodon.social avatar

The only recent spec activity on this is a headinglevelstart attribute which can be set to a number. I proposed an 'auto' value for this, but it was dismissed for the initial feature (but may happen later) https://github.com/whatwg/html/issues/5033#issuecomment-1733292070

slightlyoff,
@slightlyoff@toot.cafe avatar

@jaffathecake this is all just retcons. Hixie didn't do any serious research before he invented a grand new plan for HTML, and the attempts to fit new meaning back into old skins has gone as poorly as (some of us) expected.

The better way forward is to just invent elements that fucking do things by default, not by subterfuge or through a11y side-doors.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • InstantRegret
  • DreamBathrooms
  • ngwrru68w68
  • osvaldo12
  • cubers
  • magazineikmin
  • ethstaker
  • Youngstown
  • rosin
  • slotface
  • everett
  • kavyap
  • Durango
  • khanakhh
  • megavids
  • thenastyranch
  • anitta
  • modclub
  • GTA5RPClips
  • mdbf
  • cisconetworking
  • tester
  • tacticalgear
  • provamag3
  • Leos
  • normalnudes
  • JUstTest
  • lostlight
  • All magazines