RESOLVED FIXED Bug 121408
AX: ARIA tablist is disabled, but VoiceOver does not speak the tabs as dimmed
https://bugs.webkit.org/show_bug.cgi?id=121408
Summary AX: ARIA tablist is disabled, but VoiceOver does not speak the tabs as dimmed
chris fleizach
Reported 2013-09-15 23:01:29 PDT
When a tablist is disabled, but VoiceOver does not speak the tabs as dimmed http://www.w3.org/WAI/PF/aria/complete#aria-disabled "The state of being disabled applies to the current element and all focusable descendant elements of the element on which the aria-disabled attribute is applied." According to that, I think the safest thing to do would be to have WebKit expose AXEnabled: NO on the descendant elements as well. The current explicit "AXEnabled:YES" seems wrong. <rdar://problem/13634680>
Attachments
patch (4.83 KB, patch)
2013-09-15 23:36 PDT, chris fleizach
no flags
patch (7.73 KB, patch)
2013-09-16 08:51 PDT, chris fleizach
buildbot: commit-queue-
patch (4.82 KB, patch)
2013-09-16 09:06 PDT, chris fleizach
darin: review+
chris fleizach
Comment 1 2013-09-15 23:36:35 PDT
WebKit Commit Bot
Comment 2 2013-09-15 23:39:01 PDT
Attachment 211741 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/accessibility/aria-disabled-propagated-to-children-expected.txt', u'LayoutTests/accessibility/aria-disabled-propagated-to-children.html', u'Source/WebCore/ChangeLog', u'Source/WebCore/accessibility/AccessibilityNodeObject.cpp']" exit_code: 1 Source/WebCore/accessibility/AccessibilityNodeObject.cpp:610: An else if statement should be written as an if statement when the prior "if" concludes with a return, break, continue or goto statement. [readability/control_flow] [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 3 2013-09-16 08:51:57 PDT
Build Bot
Comment 4 2013-09-16 08:57:39 PDT
chris fleizach
Comment 5 2013-09-16 09:06:27 PDT
Darin Adler
Comment 6 2013-09-16 14:54:42 PDT
Comment on attachment 211798 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=211798&action=review > Source/WebCore/accessibility/AccessibilityNodeObject.cpp:598 > + for (AccessibilityObject* object = static_cast<AccessibilityObject*>(const_cast<AccessibilityNodeObject*>(this)); object; object = object->parentObject()) { The const_cast is needed, but the static_cast is not.
chris fleizach
Comment 7 2013-09-16 15:56:31 PDT
Note You need to log in before you can comment on or make changes to this bug.