<?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>29031</bug_id>
          
          <creation_ts>2015-08-05 20:25:40 +0000</creation_ts>
          <short_desc>UIA headings mapping incorrect</short_desc>
          <delta_ts>2015-08-05 21:18:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML a11y APIs (editor: Steve Faulkner, Cynthia Shelly)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</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>
          
          <blocked>29032</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Cynthia Shelly">cyns</reporter>
          <assigned_to name="steve faulkner">faulkner.steve</assigned_to>
          <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-bugzilla</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML a11y API spec bugbot">sideshowbarker+html-a11y-api</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>122472</commentid>
    <comment_count>0</comment_count>
    <who name="Cynthia Shelly">cyns</who>
    <bug_when>2015-08-05 20:25:40 +0000</bug_when>
    <thetext>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>122474</commentid>
    <comment_count>1</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2015-08-05 21:18:33 +0000</bug_when>
    <thetext>(In reply to Cynthia Shelly from comment #0)
&gt; In UIA, headings and heading levels are mapped as a text attribute on a text
&gt; run within the text pattern.  The correct mapping is to add heading styleID
&gt; to the text pattern run for the heading, according to this guide
&gt; https://msdn.microsoft.com/en-us/library/windows/desktop/hh437309(v=vs.85).
&gt; aspx.
&gt; 
&gt; Edge implements these styles
&gt; h1 = styleID 70001
&gt; h2 = styleID 70002
&gt; h3 = styleID 70003
&gt; h4 = sytleID 70004
&gt; h5 = styleID 70005
&gt; h6 = sytleID 70006
&gt; 
&gt; The easiest way to test this is using Windows 10 Narrator. Turn on verbose
&gt; mode (capslock+a) and switch to heading navigation (capslock+up arrow).
&gt; Navigate through the headings on this test page
&gt; http://thepaciellogroup.github.io/AT-browser-tests/test-files/h1-h6.html
&gt; (Hi, Steve!) using capslock+right arrow.  Narrator will announce the heading
&gt; level in verbose mode.

thanks Cynthia, have moved bug over to the html-aam spec (this one is for old spec)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>