How should we handle heading levels? #12
HadrienGardeur
started this conversation in
General
Replies: 1 comment
-
I'm in favor of having an extensibility point where we could have a dedicated property like the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In ARIA, heading levels are communicated using
aria-level
on eitherheading
ortreegrid
: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-levelHow should we handle this information in Guided Navigation Documents?
I see two potential ways of handling this:
heading
role to cover<h1>
through<h6>
and the equivalent usage ofaria-level
In our current implementations based on the Content Iterator API, this is handled using an integer, which is similar to ARIA's approach.
Beta Was this translation helpful? Give feedback.
All reactions