[Bug 25003] modify required heading mappings to reflect reality

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25003

--- Comment #18 from Marco Zehe <mzehe@mozilla.com> ---
In my opinion, the only clean way forward for the outline algorithm is this:

1. Leave h1 to h6 alone as they always were. h1 through h6 are always that
regardless of what they are nested in.

2. Introduce a new element named "heading" or the like that is the only element
participating in the outline algorithm. it gets a level of 1 by default, and a
level of greater than 1 depending on which section elements it is nested in. So
a section heading gets a level of 2, a section section heading gets a level of
3 etc. And the calculation of the levels is the sole responsibility of the
browser, indicating the calculated level as an implicit aria-level attribute.
Styling could then be based off the section nesting or the proposed DOM
attribute that would correspond to implicit aria-level.

This is the only way where there is a clean choice for web developers: Use the
limited 1 to 6 heading levels, or choose a more free and modern way of
structuring documents, and the browser takes care of communicating the level to
assistive technologies.
Of course, the problem of ATs that use ISimpleDOM doesn't get solved by this,
but the way forward is still cleaner, since they'd have to learn about the new
heading element (or whatever it's called) anyway.

Feel free to take this under advisement in whichever channel you like.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 22 April 2014 10:32:25 UTC