w3c / wcag

Web Content Accessibility Guidelines
https://w3c.github.io/wcag/guidelines/22/
Other
1.03k stars 229 forks source link

Technique pages headings and landmarks could be improved #3859

Open fstrr opened 2 weeks ago

fstrr commented 2 weeks ago

The landmarks and headings on Techniques pages (e.g., ARIA1), could be improved.

Currently, the sidebar table of contents has two nested, unlabeled nav elements and the "page contents" heading isn't marked up as an Hn element. Similarly, the "about this technique" aside landmark has a heading not marked up as Hn element.

It would be good to:

  1. Mark up "About this technique" and "Page Contents" headings as Hn elements.
  2. Remove one of the nav elements from the table of contents and label the remaining one (ref: ARIA11).