- From: <bugzilla@jessica.w3.org>
- Date: Thu, 08 May 2014 09:06:37 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25003 --- Comment #31 from steve faulkner <faulkner.steve@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. > > Feel free to take this under advisement in whichever channel you like. Hey marco, have realized your suggestion in the form of a custom element https://github.com/ThePacielloGroup/w3c-heading/blob/gh-pages/README.md has details and working demo. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Thursday, 8 May 2014 09:06:39 UTC