<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>29032</bug_id>
          
          <creation_ts>2015-08-05 21:16:46 +0000</creation_ts>
          <short_desc>UIA headings mapping incorrect</short_desc>
          <delta_ts>2018-05-03 21:19:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>ARIA</product>
          <component>HTML AAM</component>
          <version>Future</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>29031</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="steve faulkner">faulkner.steve</reporter>
          <assigned_to name="steve faulkner">faulkner.steve</assigned_to>
          <cc>cyns</cc>
    
    <cc>jason</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-bugzilla</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>sideshowbarker+html-a11y-api</cc>
    
    <cc>surkov.alexander</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>122473</commentid>
    <comment_count>0</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2015-08-05 21:16:46 +0000</bug_when>
    <thetext>+++ 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122484</commentid>
    <comment_count>1</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2015-08-06 10:18:38 +0000</bug_when>
    <thetext>Hi Cynthia, for the heading mapping the AAM points to the ARIA core aam so should this bug be filed against core?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122502</commentid>
    <comment_count>2</comment_count>
    <who name="Cynthia Shelly">cyns</who>
    <bug_when>2015-08-06 21:24:50 +0000</bug_when>
    <thetext>this sentence in the HTML-AAM needs to change as well: &quot;heading role, with the aria-level property set to the element&apos;s outline depth&quot; 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&apos;t support heading without level, how should we map role=heading without aria-level?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122517</commentid>
    <comment_count>3</comment_count>
    <who name="Cynthia Shelly">cyns</who>
    <bug_when>2015-08-07 23:25:32 +0000</bug_when>
    <thetext>Links:
https://www.w3.org/WAI/PF/Group/track/issues/738
https://www.w3.org/WAI/PF/Group/track/issues/739</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122561</commentid>
    <comment_count>4</comment_count>
    <who name="Jason Kiss">jason</who>
    <bug_when>2015-08-11 22:33:41 +0000</bug_when>
    <thetext>(In reply to Cynthia Shelly from comment #2)
&gt; this sentence in the HTML-AAM needs to change as well: &quot;heading role, with
&gt; the aria-level property set to the element&apos;s outline depth&quot; since there is
&gt; no heading role/control type in UIA.

The mention of @aria-level aside, shouldn&apos;t that sentence in HTML-AAM remain? It&apos;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&apos;s issue 738 [1]?

[1] https://www.w3.org/WAI/PF/Group/track/issues/738</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129195</commentid>
    <comment_count>5</comment_count>
    <who name="James Nurthen">w3cbugzilla</who>
    <bug_when>2018-05-03 21:19:28 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>