<?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>16652</bug_id>
          
          <creation_ts>2012-04-06 16:27:03 +0000</creation_ts>
          <short_desc>aria-checked mapping issues raised by Alex</short_desc>
          <delta_ts>2012-07-31 19:54:38 +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>FIXED</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>surkov.alexander</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>66484</commentid>
    <comment_count>0</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2012-04-06 16:27:03 +0000</bug_when>
    <thetext>5.5.1. State and Property Mapping Table
(http://www.w3.org/WAI/PF/aria-implementation/#mapping_state-property_table):
aria-checked=&quot;false&quot; (state) Expose object attribute checkable:true
aria-checked is undefined (state)		 Not mapped

6.2. Author Errors
http://www.w3.org/WAI/PF/aria-implementation/#document-handling_author-errors:

If a WAI-ARIA property contains an unknown or disallowed value, the
user agent SHOULD expose to platform accessibility APIs as follows:
    1) When exposing as an object attribute, expose the unknown value
— do not vet it against possible values.
    2) When exposing as a platform API Boolean state, treat &quot;&quot;,
&quot;undefined&quot; or no attribute present as false. Treat any other value as
true.
    3) Otherwise, ignore the value and treat the property as not present

Technically aria-checked is exposed as &quot;checkable&quot; object attribute on
IA2 and ATK what requires UA to expose unknown value per 1) (bw, it&apos;s
not clear what is unknown value because a property can contain
&quot;unknown or disallowed value&quot;). Role mapping requires the
role=&quot;checkbox&quot; to be exposed with &quot;checkable:true&quot; attribute (per
5.4.1. Role Mapping Table) so we run into collision if
aria-checked=&quot;wrongvalue&quot; is specified.

It sounds that &quot;checkable:true&quot; should be treated as API Boolean
state. So true value is &quot;checkable:true&quot;, false value is no
&quot;checkable&quot; attribute. I think the wording should be changed to make
it clear.

Thanks.
Alex.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66981</commentid>
    <comment_count>1</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2012-04-24 16:10:47 +0000</bug_when>
    <thetext>Andi, what does &quot;aria-checked is undefined (state)&quot; mean? Can you give an example in markup?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69418</commentid>
    <comment_count>2</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2012-06-26 15:55:50 +0000</bug_when>
    <thetext>Emailing Alexander (who is on vacation ATM).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71328</commentid>
    <comment_count>3</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2012-07-23 18:28:55 +0000</bug_when>
    <thetext>From May 24th, 2012, UAI TF Meeting: 

DB: what does aria-checked is undefined mean?

AS: it means it&apos;s a role such as checkbox or radiobutton but aria-checked is not specified

DB: FF would default to &quot;false&quot; if it&apos;s not specified
... for aria-checked undefined, we have &quot;not mapped&quot; all the way across
... FF &amp; IE would map as if aria-checked=&quot;false&quot; but wouldn&apos;t expose object attribute
... would clear the states but not expose object attributes

AS: leaves it as &quot;not mapped&quot; for UIA

CS: think it is &quot;not mapped&quot; for UIA

assign bug to Cynthia</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71625</commentid>
    <comment_count>4</comment_count>
    <who name="Cynthia Shelly">cyns</who>
    <bug_when>2012-07-27 21:41:41 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; From May 24th, 2012, UAI TF Meeting: 
&gt; 
&gt; DB: what does aria-checked is undefined mean?
&gt; 
&gt; AS: it means it&apos;s a role such as checkbox or radiobutton but aria-checked is
&gt; not specified
&gt; 
&gt; DB: FF would default to &quot;false&quot; if it&apos;s not specified
&gt; ... for aria-checked undefined, we have &quot;not mapped&quot; all the way across
&gt; ... FF &amp; IE would map as if aria-checked=&quot;false&quot; but wouldn&apos;t expose object
&gt; attribute
&gt; ... would clear the states but not expose object attributes
&gt; 
&gt; AS: leaves it as &quot;not mapped&quot; for UIA
&gt; 
&gt; CS: think it is &quot;not mapped&quot; for UIA
&gt; 
&gt; assign bug to Cynthia


Implement the Toggle pattern and set Toggle.ToggleState to Off(0)

So, yes it is mapped</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>