<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>122540</bug_id>
          
          <creation_ts>2013-10-08 23:50:12 -0700</creation_ts>
          <short_desc>AX: VoiceOver does not speak aria-expanded state on iOS</short_desc>
          <delta_ts>2013-10-09 09:32:24 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Accessibility</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="chris fleizach">cfleizach</reporter>
          <assigned_to name="chris fleizach">cfleizach</assigned_to>
          <cc>aboxhall</cc>
    
    <cc>apinheiro</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dmazzoni</cc>
    
    <cc>faulkner.steve</cc>
    
    <cc>jdiggs</cc>
    
    <cc>mario</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>937824</commentid>
    <comment_count>0</comment_count>
    <who name="chris fleizach">cfleizach</who>
    <bug_when>2013-10-08 23:50:12 -0700</bug_when>
    <thetext>See

http://pauljadam.com/demos/aria-expanded.html

&lt;rdar://problem/15176155&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>937825</commentid>
    <comment_count>1</comment_count>
      <attachid>213756</attachid>
    <who name="chris fleizach">cfleizach</who>
    <bug_when>2013-10-08 23:52:09 -0700</bug_when>
    <thetext>Created attachment 213756
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>937840</commentid>
    <comment_count>2</comment_count>
      <attachid>213756</attachid>
    <who name="Mario Sanchez Prada">mario</who>
    <bug_when>2013-10-09 01:29:02 -0700</bug_when>
    <thetext>Comment on attachment 213756
patch

I&apos;ve observed you&apos;re not exposing canSetExpandedAttribute() at all in this IOS wrapper, which is something you do in the Mac one by means of the attributeName() method:

    - (BOOL)accessibilityIsAttributeSettable:(NSString*)attributeName
    {
    [...]
        if ([attributeName isEqualToString:NSAccessibilityDisclosingAttribute])
            return m_object-&gt;canSetExpandedAttribute();
    [...]
    }

In ATK we expose the very same thing with ATK_STATE_EXPANDABLE, so that&apos;s it got my attention. 

Anyway, just pointing it out in case it was not intentional. The current patch is Ok in any case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>937932</commentid>
    <comment_count>3</comment_count>
    <who name="chris fleizach">cfleizach</who>
    <bug_when>2013-10-09 08:53:01 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 213756 [details])
&gt; I&apos;ve observed you&apos;re not exposing canSetExpandedAttribute() at all in this IOS wrapper, which is something you do in the Mac one by means of the attributeName() method:
&gt; 
&gt;     - (BOOL)accessibilityIsAttributeSettable:(NSString*)attributeName
&gt;     {
&gt;     [...]
&gt;         if ([attributeName isEqualToString:NSAccessibilityDisclosingAttribute])
&gt;             return m_object-&gt;canSetExpandedAttribute();
&gt;     [...]
&gt;     }
&gt; 
&gt; In ATK we expose the very same thing with ATK_STATE_EXPANDABLE, so that&apos;s it got my attention. 
&gt; 
&gt; Anyway, just pointing it out in case it was not intentional. The current patch is Ok in any case.

Thanks for looking at this. On iOS, we don&apos;t have a notion of attribute names. Properties are just exposed and queried for when desired</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>937937</commentid>
    <comment_count>4</comment_count>
      <attachid>213756</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-10-09 09:15:05 -0700</bug_when>
    <thetext>Comment on attachment 213756
patch

Clearing flags on attachment: 213756

Committed r157171: &lt;http://trac.webkit.org/changeset/157171&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>937938</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-10-09 09:15:07 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>937944</commentid>
    <comment_count>6</comment_count>
    <who name="Mario Sanchez Prada">mario</who>
    <bug_when>2013-10-09 09:32:24 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; [...]
&gt; Thanks for looking at this. On iOS, we don&apos;t have a notion of attribute names. 
&gt; Properties are just exposed and queried for when desired

Ah! That explains why you don&apos;t have a attributeName() method in the IOS wrapper :)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>213756</attachid>
            <date>2013-10-08 23:52:09 -0700</date>
            <delta_ts>2013-10-09 09:15:05 -0700</delta_ts>
            <desc>patch</desc>
            <filename>patch</filename>
            <type>text/plain</type>
            <size>1346</size>
            <attacher name="chris fleizach">cfleizach</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDE1NzE1OCkKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE1IEBACisyMDEzLTEwLTA4ICBDaHJpcyBG
bGVpemFjaCAgPGNmbGVpemFjaEBhcHBsZS5jb20+CisKKyAgICAgICAgQVg6IF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