<?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>29124</bug_id>
          
          <creation_ts>2009-09-10 08:25:21 -0700</creation_ts>
          <short_desc>AccessibleBase::accSelect is not implemented at all</short_desc>
          <delta_ts>2011-03-31 16:27:50 -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>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>33918</dup_id>
          
          <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>0</everconfirmed>
          <reporter name="Matt Campbell">mattc</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aroben</cc>
    
    <cc>jhoneycutt</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>146201</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Campbell">mattc</who>
    <bug_when>2009-09-10 08:25:21 -0700</bug_when>
    <thetext>Overview:
The accSelect method of the MSAA IAccessible interface is used by assistive technologies to manage both the focus and (where applicable) the selection.  The use of this method to manage the focus is especially important for screen readers which usually implement an alternative user interface for navigating a web page, often called a virtual buffer.  Specifically, the screen reader must be able to programmatically set the focus to elements in the web page as the user navigates.

Steps to reproduce (e.g. in a test program):
1.  Get an IAccessible object from WebKit using AccessibleObjectFromWindow.
2.  Call the accSelect method with SELFLAG_TAKEFOCUS as the first argument. (SELFLAG_TAKEFOCUS is a constant in oleacc.h)

Actual result:
The method returns the E_NOTIMPL COM error.

Expected result:
This method should at least handle the SELFLAG_TAKEFOCUS flag.

Reproduced with r48199 on Windows XP.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146202</commentid>
    <comment_count>1</comment_count>
    <who name="Matt Campbell">mattc</who>
    <bug_when>2009-09-10 08:26:21 -0700</bug_when>
    <thetext>I&apos;m working on a solution now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146332</commentid>
    <comment_count>2</comment_count>
      <attachid>39378</attachid>
    <who name="Matt Campbell">mattc</who>
    <bug_when>2009-09-10 14:16:11 -0700</bug_when>
    <thetext>Created attachment 39378
Initial patch; only implements SELFLAG_TAKEFOCUS

This patch has no test case; I&apos;ll submit that later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146346</commentid>
    <comment_count>3</comment_count>
      <attachid>39378</attachid>
    <who name="Jon Honeycutt">jhoneycutt</who>
    <bug_when>2009-09-10 14:45:22 -0700</bug_when>
    <thetext>Comment on attachment 39378
Initial patch; only implements SELFLAG_TAKEFOCUS

Looks good to me, but r- for the missing test as we discussed. Thanks for the patch, Matt!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>377534</commentid>
    <comment_count>4</comment_count>
    <who name="Jon Honeycutt">jhoneycutt</who>
    <bug_when>2011-03-31 16:27:50 -0700</bug_when>
    <thetext>Forward duping to 33918, since that bug is fixed.

*** This bug has been marked as a duplicate of bug 33918 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>39378</attachid>
            <date>2009-09-10 14:16:11 -0700</date>
            <delta_ts>2010-06-10 19:01:08 -0700</delta_ts>
            <desc>Initial patch; only implements SELFLAG_TAKEFOCUS</desc>
            <filename>ImplementTakeFocus.txt</filename>
            <type>text/plain</type>
            <size>1342</size>
            <attacher name="Matt Campbell">mattc</attacher>
            
              <data encoding="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MzI2LDggKzMyNiwxOSBAQCBIUkVTVUxUIFNURE1F
VEhPRENBTExUWVBFIEFjY2Vzc2libGVCYXNlCiAgICAgcmV0dXJuIFNfT0s7CiB9CiAKLUhSRVNV
TFQgU1RETUVUSE9EQ0FMTFRZUEUgQWNjZXNzaWJsZUJhc2U6OmFjY1NlbGVjdChsb25nLCBWQVJJ
QU5UKQorSFJFU1VMVCBTVERNRVRIT0RDQUxMVFlQRSBBY2Nlc3NpYmxlQmFzZTo6YWNjU2VsZWN0
KGxvbmcgZmxhZ3MsIFZBUklBTlQgdkNoaWxkKQogeworICAgIEFjY2Vzc2liaWxpdHlPYmplY3Qq
IGNoaWxkT2JqOworICAgIEhSRVNVTFQgaHIgPSBnZXRBY2Nlc3NpYmlsaXR5T2JqZWN0Rm9yQ2hp
bGQodkNoaWxkLCBjaGlsZE9iaik7CisKKyAgICBpZiAoRkFJTEVEKGhyKSkKKyAgICAgICAgcmV0
dXJuIGhyOworCisgICAgaWYgKGZsYWdzID09IFNFTEZMQUdfVEFLRUZPQ1VTKSB7CisgICAgICAg
IGNoaWxkT2JqLT5zZXRGb2N1c2VkKHRydWUpOworICAgICAgICByZXR1cm4gU19PSzsKKyAgICB9
CisKICAgICByZXR1cm4gRV9OT1RJTVBMOwogfQogCg==
</data>
<flag name="review"
          id="20468"
          type_id="1"
          status="-"
          setter="jhoneycutt"
    />
          </attachment>
      

    </bug>

</bugzilla>