RESOLVED FIXED122252
AX: Facebook wrapped a file upload button in an unfocusable ARIA button, which doesn't work with AXPress.
https://bugs.webkit.org/show_bug.cgi?id=122252
Summary AX: Facebook wrapped a file upload button in an unfocusable ARIA button, whic...
James Craig
Reported 2013-10-02 18:01:20 PDT
AX: Facebook wrapped a file upload button in an unfocusable ARIA button, which doesn't work with AXPress. It's dumb that Facebook does this, but we should probably still work around it in WebKit. If a File upload button is included in a custom ARIA button, either have WebKit ignore the ARIA button (just expose the native field to the AX API), or have WebKit expose the contents of the button (usually buttons children are presentational), or have AXPress on the ARIA button traverse down the DOM tree to the native element. I don't have a preference for one solution or the other.
Attachments
test case demonstrating bug (849 bytes, text/html)
2013-10-02 18:03 PDT, James Craig
no flags
patch (6.58 KB, patch)
2013-10-04 14:55 PDT, chris fleizach
no flags
patch (6.56 KB, patch)
2013-10-04 16:18 PDT, chris fleizach
no flags
James Craig
Comment 1 2013-10-02 18:01:31 PDT
James Craig
Comment 2 2013-10-02 18:03:11 PDT
Created attachment 213219 [details] test case demonstrating bug
chris fleizach
Comment 3 2013-10-04 14:55:51 PDT
WebKit Commit Bot
Comment 4 2013-10-04 15:00:32 PDT
Attachment 213406 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/accessibility/axpress-on-aria-button-expected.txt', u'LayoutTests/accessibility/axpress-on-aria-button.html', u'Source/WebCore/ChangeLog', u'Source/WebCore/accessibility/AccessibilityNodeObject.cpp']" exit_code: 1 Source/WebCore/accessibility/AccessibilityNodeObject.cpp:1001: Non-label code inside switch statements should be indented. [whitespace/indent] [4] Total errors found: 1 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
chris fleizach
Comment 5 2013-10-04 16:18:41 PDT
WebKit Commit Bot
Comment 6 2013-10-07 08:08:48 PDT
Comment on attachment 213415 [details] patch Clearing flags on attachment: 213415 Committed r157038: <http://trac.webkit.org/changeset/157038>
WebKit Commit Bot
Comment 7 2013-10-07 08:08:51 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.