Bug 69561

Summary: [GTK] Don't expose objects with unknown role on GTK
Product: WebKit Reporter: Mario Sanchez Prada <mario>
Component: AccessibilityAssignee: Mario Sanchez Prada <mario>
Status: RESOLVED FIXED    
Severity: Normal CC: cfleizach, mrobinson
Priority: P2 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch cfleizach: review+

Description Mario Sanchez Prada 2011-10-06 13:53:19 PDT
WebKitGTK is currently exposing objects with role unknown, which is wrong and, besides this, is preventing us to enable the new a11y layout test accessibility/deleting-iframe-destroys-axcache.html by providing a new expectations file.

Of course, when it comes to enabling that new test we could of course generate the expected file now, but then one of the assertions would failing due to this bug, since this is how the a11y hierarchy for test looks right now:

 AXRole: scroll pane 
     AXRole: document frame 
         AXRole: paragraph 
         AXRole: panel 
             AXRole: unknown 
                 AXRole: scroll pane 
                     AXRole: document frame 
                         AXRole: panel 
                             AXRole: push button 

...and this is how it should look:

 AXRole: scroll pane 
     AXRole: document frame 
         AXRole: paragraph 
         AXRole: panel 
             AXRole: scroll pane 
                 AXRole: document frame 
                     AXRole: panel 
                         AXRole: push button
Comment 1 Mario Sanchez Prada 2011-10-06 14:06:05 PDT
Created attachment 110015 [details]
Patch
Comment 2 Mario Sanchez Prada 2011-10-06 14:10:21 PDT
Adding Chris to CC, as this patch basically mimics something they are already doing on the Mac.
Comment 3 chris fleizach 2011-10-06 14:13:22 PDT
Comment on attachment 110015 [details]
Patch

r=me
Comment 4 Mario Sanchez Prada 2011-10-07 02:51:00 PDT
Committed r96922: <http://trac.webkit.org/changeset/96922>