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 29032 - UIA headings mapping incorrect
Summary: UIA headings mapping incorrect
Status: RESOLVED INVALID
Alias: None
Product: ARIA
Classification: Unclassified
Component: HTML AAM (show other bugs)
Version: Future
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: steve faulkner
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 29031
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-05 21:16 UTC by steve faulkner
Modified: 2018-05-03 21:19 UTC (History)
8 users (show)

See Also:


Attachments

Description steve faulkner 2015-08-05 21:16:46 UTC
+++ This bug was initially created as a clone of Bug #29031 +++

In UIA, headings and heading levels are mapped as a text attribute on a text run within the text pattern.  The correct mapping is to add heading styleID to the text pattern run for the heading, according to this guide https://msdn.microsoft.com/en-us/library/windows/desktop/hh437309(v=vs.85).aspx.

Edge implements these styles
h1 = styleID 70001
h2 = styleID 70002
h3 = styleID 70003
h4 = sytleID 70004
h5 = styleID 70005
h6 = sytleID 70006

The easiest way to test this is using Windows 10 Narrator. Turn on verbose mode (capslock+a) and switch to heading navigation (capslock+up arrow). Navigate through the headings on this test page http://thepaciellogroup.github.io/AT-browser-tests/test-files/h1-h6.html (Hi, Steve!) using capslock+right arrow.  Narrator will announce the heading level in verbose mode.
Comment 1 steve faulkner 2015-08-06 10:18:38 UTC
Hi Cynthia, for the heading mapping the AAM points to the ARIA core aam so should this bug be filed against core?
Comment 2 Cynthia Shelly 2015-08-06 21:24:50 UTC
this sentence in the HTML-AAM needs to change as well: "heading role, with the aria-level property set to the element's outline depth" since there is no heading role/control type in UIA.

I have created issues for the Core-AAM 
Core-AAM ISSUE-738: UIA mapping for heading incorrect
Core-AAM ISSUE-739: UIA doesn't support heading without level, how should we map role=heading without aria-level?
Comment 4 Jason Kiss 2015-08-11 22:33:41 UTC
(In reply to Cynthia Shelly from comment #2)
> this sentence in the HTML-AAM needs to change as well: "heading role, with
> the aria-level property set to the element's outline depth" since there is
> no heading role/control type in UIA.

The mention of @aria-level aside, shouldn't that sentence in HTML-AAM remain? It's just identifying the relevant WAI-ARIA role, which is heading. The UIA mapping for HTML heading elements is the same as the UIA mapping for the ARIA heading role, so it will be in CORE-AAM that the UIA mapping using styleID on the text control pattern is specified, as per Cynthia's issue 738 [1]?

[1] https://www.w3.org/WAI/PF/Group/track/issues/738
Comment 5 James Nurthen 2018-05-03 21:19:28 UTC
HTML AAM is no longer an ARIA Deliverable. If you wish to pursue this issue please file at https://github.com/w3c/html-aam/issues