<?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>23551</bug_id>
          
          <creation_ts>2013-10-17 17:31:24 +0000</creation_ts>
          <short_desc>name and description section of HTML-AAPI oversimplifies step order; appear to conflict ARIA; needs rewriting</short_desc>
          <delta_ts>2013-10-23 09:03:35 +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>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="James Craig">jcraig</reporter>
          <assigned_to name="steve faulkner">faulkner.steve</assigned_to>
          <cc>lwatson</cc>
    
    <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>94907</commentid>
    <comment_count>0</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2013-10-17 17:31:24 +0000</bug_when>
    <thetext>The &quot;name and desc&quot; section of HTML-AAPI oversimplifies the steps to determine alternatives when encountering specific HTML elements. For example, the AAPI doc says that aria-label should always trump value on controls, when that&apos;s only the case if it&apos;s not being calculated recursively for another element. The simplified lists with instructions like &quot;use aria-labelledby&quot; even seem to conflict with the ARIA algorithm in places.

http://www.w3.org/TR/2013/WD-html-aapi-20131001/#accessible-name-and-description-calculation

I would recommend rewriting the section to include the following changes:

1. Remove all the processing order lists. Defer to the ARIA spec for these.
2. Add a new section declaring the order and importance of host language labeling mechanisms (e.g. table&gt;caption, img[alt], and so on) for each element. Note in the section that these will be used in rule 2A bullet 3 of the ARIA computation.
3. Add a new section declaring whether each element is a control (e.g. input) whose value should be used in the rule 2B of the ARIA. Remember to define how to determine the control value per element.
4. Declare any special-case attribute usage (e.g. @placeholder) in the same section where you declare the tooltip attribute (e.g. @title).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94908</commentid>
    <comment_count>1</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2013-10-17 17:33:35 +0000</bug_when>
    <thetext>May also need a third section to declare whether or no each element accepts its nameFrom:contents (for rule 2C)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>