[Bug 25003] modify required heading mappings to reflect reality

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

--- Comment #27 from alexander surkov <surkov.alexander@gmail.com> ---
(In reply to Marco Zehe from comment #18)
> 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.

I find the suggestion reasonable, alternatively section element could have
@heading attribute. It doesn't address the relation between h1-h6 and section
elements though.

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

Received on Tuesday, 22 April 2014 18:26:45 UTC