<?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>27575</bug_id>
          
          <creation_ts>2014-12-11 19:36:35 +0000</creation_ts>
          <short_desc>The Roles model introduces a potential timing problem</short_desc>
          <delta_ts>2018-05-03 20:42:45 +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>Spec</component>
          <version>1.1</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dylan Barrell">dylan</reporter>
          <assigned_to name="James Craig">jcraig</assigned_to>
          <cc>w3cbugzilla</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>116163</commentid>
    <comment_count>0</comment_count>
    <who name="Dylan Barrell">dylan</who>
    <bug_when>2014-12-11 19:36:35 +0000</bug_when>
    <thetext>The spec currently states here http://w3c.github.io/aria/aria/aria.html#roles

&quot;Roles are element types and authors must not change role values over time or with user actions. Authors wishing to change a role must do so by deleting the associated element and its children and replacing it with a new element with the appropriate role. Typically, platform accessibility APIs do not provide a vehicle to notify assistive technologies of a role value change, and consequently, assistive technologies may not update their cache with the new role attribute value.&quot;

... and Core-AAM also states here http://www.w3.org/TR/core-aam-1.1/#mapping_conflicts

&quot;Host languages can have features that have implicit WAI-ARIA semantics corresponding to roles. When a WAI-ARIA role is provided that has a corresponding role in the accessibility API, user agents must use the semantic of the WAI-ARIA role for processing, not the native semantic, unless the role requires WAI-ARIA states and properties whose attributes are explicitly forbidden on the native element by the host language.&quot;

Which leaves open the possibility (at the very least in HTML) that a document may load with elements that are mapped natively to accessibility roles to which WAI-ARIA roles are added programmatically at a later point (using for example JavaScript) (this is common in practice with the 1.0 version of the specification).

If a platform does not have the ability to override the role once something has been exposed through the accessibility API, then this introduces a timing problem that could lead to incompatibilities across platforms.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129171</commentid>
    <comment_count>1</comment_count>
    <who name="James Nurthen">w3cbugzilla</who>
    <bug_when>2018-05-03 20:42:45 +0000</bug_when>
    <thetext>https://github.com/w3c/aria/issues/729</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>