[webkit-dev] Accessibility Object Searching

Chris Fleizach cfleizach at apple.com
Tue Jun 21 18:59:42 PDT 2011


On Jun 21, 2011, at 5:45 PM, Charles Pritchard wrote:

> On Jun 21, 2011, at 4:30 PM, Samuel White <samuel_white at apple.com> wrote:
> 
>> Hey everybody,
>> 
>> I'm new to the list and thought it would be a good idea to get some feedback on an accessibility feature before filing a bug or submitting anything. Currently, no functionality exists in WebKit to search through AccessibilityObjects using basic search criteria like next link or next table internally. Screen readers and other access devices often must instead probe WebKit and build up their own internal representation of a page before they can begin searching for what they are after. This presents two big problems for the users of access technology. First, pages such as the HTML 5 working doc have a massive number of DOM elements and building up an external representation can be a very expensive and slow task. Secondly, maintaining an accurate external representation of a site can become difficult if that site has a large amount of dynamic content and users may not be accessing relevant information.
>> 
>> I would like to make a few small changes to the AccessibilityObject class that adds the functionality I've mentioned. I think these small but important additions will allow existing access technologies to rely much more on WebKits representation of a page and thus eliminate the problems I've described above. I appreciate any feedback and look forward to helping out.
>> 
>> Thanks
>> Sam
> 
> While you're rooting around in there, I'd love to see the tree exposed to WebKit inspector at some point. It might make ARIA a little easier to use.
> 

The accessibility hierarchy is usually coupled (tightly at times) to the platform's implementation. Often there are tools on the platform to help figure out the accessibility hierarchy. 

On the Mac, there's "Accessibility Inspector", which conveniently can also be run on the iOS simulator. Just start the program and hover the mouse over an item on a webpage to learn how it's exposed to the platform.

> I'm still months away from being a contributor-- I'm hoping to see the canvas shadow DOM made accessible, and subsequently, see paths supported by assistive technology, like Apple's gesture-based eyes-free mode in Mobile Safari/iOS.
> 
> -Charles
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev



More information about the webkit-dev mailing list