Source/WebCore: [Windows] AX: Radio buttons with "tab" role should describe themselve...
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Jun 2013 16:35:34 +0000 (16:35 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Jun 2013 16:35:34 +0000 (16:35 +0000)
commit933866437fdcd7e80298df728bc6be9f47ccdcc8
tree22b5d6fb641073a9042167d53e32f6b2eb170f76
parent0db22a58aefe6fcbeff06e6014f2f86fa36729f0
Source/WebCore: [Windows] AX: Radio buttons with "tab" role should describe themselves as tabs
https://bugs.webkit.org/show_bug.cgi?id=117837

Reviewed by Chris Fleizach.

accessibility/aria-tab-role-on-buttons.html

* accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::canSetSelectedAttribute): Indicate that certain accessibility
types (such as Tabs) can be selected.
* accessibility/AccessibilityNodeObject.h: Signature for canSelectAttribute override.

Source/WebKit/win: [Windows] AX: Radio buttons with "tab" role should describe themselves as tabs.
https://bugs.webkit.org/show_bug.cgi?id=117837

Reviewed by Chris Fleizach.

* AccessibleBase.cpp:
(MSAARole): Don't expose TabRole as a radio button to satisfy buggy screen readers.

LayoutTests: [Windows] AX: Radio buttons with "tab" role should describe themselves as tabs.
https://bugs.webkit.org/show_bug.cgi?id=117837

Reviewed by Chris Fleizach.

* accessibility/aria-tab-role-on-buttons.html: Added.
* accessibility/aria-tab-role-on-buttons-expected.txt: Added.
* platform/win/aria-tab-role-on-buttons-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@151841 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/accessibility/aria-tab-role-on-buttons.html [new file with mode: 0644]
LayoutTests/platform/mac/accessibility/aria-tab-role-on-buttons-expected.txt [new file with mode: 0644]
LayoutTests/platform/win/accessibility/aria-tab-role-on-buttons-expected.txt [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/accessibility/AccessibilityNodeObject.cpp
Source/WebCore/accessibility/AccessibilityNodeObject.h
Source/WebKit/win/AccessibleBase.cpp
Source/WebKit/win/ChangeLog