<?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>11805</bug_id>
          
          <creation_ts>2011-01-19 13:35:35 +0000</creation_ts>
          <short_desc>Sync &quot;Conflicts between native markup semantics and WAI-ARIA&quot; with the spec</short_desc>
          <delta_ts>2011-03-31 14:11:29 +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>Core AAM</component>
          <version>1.0</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andi Snow-Weaver">andi.snowweaver</reporter>
          <assigned_to name="Andi Snow-Weaver">andi.snowweaver</assigned_to>
          <cc>dbolter</cc>
          
          <qa_contact name="ARIA UA Implementors">aria-ua-impl</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>44471</commentid>
    <comment_count>0</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2011-01-19 13:35:35 +0000</bug_when>
    <thetext>Comments from James:

5.2. Conflicts between native markup semantics and WAI-ARIA
http://www.w3.org/WAI/PF/aria-implementation/#notify_state_changes
&quot;&quot;&quot;
When a host language declares a WAI-ARIA attribute to be in direct semantic conflict with a native attribute for a given element, ignore the WAI-ARIA attribute and instead use the host language attribute with the same implicit semantic. When WAI-ARIA states and properties correspond to host language features that have the same implicit WAI-ARIA semantic, it can be particularly problematic to use the WAI-ARIA feature. If the WAI-ARIA feature and the host language feature are both provided but their values are not kept in sync, it is uncertain which one is correct.
&quot;&quot;&quot;

Does not account for conflict on attrs with similar but non-identical semantic conflicts such as &lt;input type=checkbox checked aria-checked=mixed&gt;

--------------------------------------------------------------

5.2. Conflicts between native markup semantics and WAI-ARIA
http://www.w3.org/WAI/PF/aria-implementation/#notify_state_changes

&quot;&quot;&quot;
When a WAI-ARIA role is provided, 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;&quot;&quot;

I worry this opens up an opportunity for the HTML5 group to forbid ARIA attrs on certain elements where it should not be forbidden. The UAIG should clarify that this is only for non-UI include elements such as script or style includes, and potentially &lt;input type=&quot;hidden&quot;&gt; We should admit wording that will prevent a host language from forbidding ARIA attrs on elements that render UI.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44472</commentid>
    <comment_count>1</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2011-01-19 13:49:54 +0000</bug_when>
    <thetext>Another related comment from James:

5.4. Role mapping
http://www.w3.org/WAI/PF/aria-implementation/#mapping_role

&quot;&quot;&quot;
When a matching role is found, user agents MUST use it to override any implicit role inferred from the host language markup in performing this mapping, unless the role requires WAI-ARIA states and properties whose attributes are explicitly forbidden on the native element by the host language. 
&quot;&quot;&quot;

Again, I worry this opens up an opportunity for the HTML5 group to forbid ARIA attrs on certain elements where it should not be forbidden. The UAIG should clarify that this is only for non-UI include elements such as script or style includes, and potentially &lt;input type=&quot;hidden&quot;&gt; We should admit wording that will prevent a host language from forbidding ARIA attrs on elements that render UI.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45774</commentid>
    <comment_count>2</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2011-02-17 15:29:18 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Comments from James:
&gt; 
&gt; 5.2. Conflicts between native markup semantics and WAI-ARIA
&gt; http://www.w3.org/WAI/PF/aria-implementation/#notify_state_changes
&gt; &quot;&quot;&quot;
&gt; When a host language declares a WAI-ARIA attribute to be in direct semantic
&gt; conflict with a native attribute for a given element, ignore the WAI-ARIA
&gt; attribute and instead use the host language attribute with the same implicit
&gt; semantic. When WAI-ARIA states and properties correspond to host language
&gt; features that have the same implicit WAI-ARIA semantic, it can be particularly
&gt; problematic to use the WAI-ARIA feature. If the WAI-ARIA feature and the host
&gt; language feature are both provided but their values are not kept in sync, it is
&gt; uncertain which one is correct.
&gt; &quot;&quot;&quot;
&gt; 
&gt; Does not account for conflict on attrs with similar but non-identical semantic
&gt; conflicts such as &lt;input type=checkbox checked aria-checked=mixed&gt;

I think we should add text to clarify this. Can James propose some text?

&gt; 
&gt; --------------------------------------------------------------
&gt; 
&gt; 5.2. Conflicts between native markup semantics and WAI-ARIA
&gt; http://www.w3.org/WAI/PF/aria-implementation/#notify_state_changes
&gt; 
&gt; &quot;&quot;&quot;
&gt; When a WAI-ARIA role is provided, use the semantic of the WAI-ARIA role for
&gt; processing, not the native semantic, unless the role requires WAI-ARIA states
&gt; and properties whose attributes are explicitly forbidden on the native element
&gt; by the host language.
&gt; &quot;&quot;&quot;
&gt; 
&gt; I worry this opens up an opportunity for the HTML5 group to forbid ARIA attrs
&gt; on certain elements where it should not be forbidden. The UAIG should clarify
&gt; that this is only for non-UI include elements such as script or style includes,
&gt; and potentially &lt;input type=&quot;hidden&quot;&gt; We should admit wording that will
&gt; prevent a host language from forbidding ARIA attrs on elements that render UI.

I echo this concern.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45775</commentid>
    <comment_count>3</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2011-02-17 15:30:09 +0000</bug_when>
    <thetext>Ditto for comment 1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45779</commentid>
    <comment_count>4</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2011-02-17 15:56:03 +0000</bug_when>
    <thetext>Andi to start e-mail thread with Michael and James. We do have an agreement with the HTML 5 WG that they can forbid certain WAI-ARIA attributes on HTML elements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47078</commentid>
    <comment_count>5</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2011-03-31 14:11:29 +0000</bug_when>
    <thetext>Resolved with James. No changes required.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>