This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7434 - Everything with role=heading should also have an associated aria-level that indicates the level of the heading. The level of the heading should probably be based on the outline algorithm.
Summary: Everything with role=heading should also have an associated aria-level that i...
Status: VERIFIED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: All All
: P3 normal
Target Milestone: LC
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://whatwg.org/specs/web-apps/curr...
Whiteboard:
Keywords: NE, NoReply
Depends on:
Blocks:
 
Reported: 2009-08-26 14:11 UTC by contributor
Modified: 2010-10-04 13:54 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2009-08-26 14:11:37 UTC
Section: http://whatwg.org/specs/web-apps/current-work/#annotations-for-assistive-technology-products

Comment:
Everything with role=heading should also have an associated aria-level that indicates the level of the heading. The level of the heading should probably be based on the outline algorithm.

Posted from: 83.85.115.44
Comment 1 Henri Sivonen 2009-08-26 14:58:39 UTC
What problem does using role=heading aria-level=2 solve compared to using <h2>?

Making the outline algorithm sensitive to attributes can turn out to be a major perf problem. (Consider developing a selector for outline depth and caching stuff on heading nodes in the DOM.)
Comment 2 Anne 2009-08-26 15:05:19 UTC
I'm not suggesting to influence the outline algorithm with attributes. I'm suggesting to influence AT with the proper "implicit" attributes. One could argue that ARIA should have never introduced role=heading and aria-level in the first place because HTML adequately solves the use case, but it did. And since it was decided to provide the implicit mapping between HTML and ARIA, we should probably use all the features it provides, including aria-level.
Comment 3 Anne 2009-08-26 15:06:32 UTC
(Having said that, ARIA can still be changed in theory and support for heading could be dropped in favor of people using actual elements.)
Comment 4 Ian 'Hixie' Hickson 2009-09-21 23:09:35 UTC
Looks like I did this already.
Comment 5 Maciej Stachowiak 2010-03-14 14:50:10 UTC
This bug predates the HTML Working Group Decision Policy.

If you are satisfied with the resolution of this bug, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
  http://dev.w3.org/html5/decision-policy/decision-policy.html

This bug is now being moved to VERIFIED. Please respond within two weeks. If this bug is not closed, reopened or escalated within two weeks, it may be marked as NoReply and will no longer be considered a pending comment.