|
Add handling to respect role attribute in AXObjects.
Some AXObjects didn't handle role attribute correctly because it returns
static role for roleValue().
This patch makes they check role attribute on roleValue().
It will have a higher priority than implicit role.
AXObjects handled in this patch:
- AXSlider
- AXProgressIndicator
- AXMenuList
- AXListBoxOption
- AXListBox
BUG= 467434
R=dmazzoni
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191899
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+133 lines, -7 lines) |
Patch |
|
A |
LayoutTests/accessibility/role-attribute.html
|
View
|
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/accessibility/role-attribute-expected.txt
|
View
|
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/modules/accessibility/AXListBox.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/accessibility/AXListBox.cpp
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/modules/accessibility/AXListBoxOption.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/accessibility/AXListBoxOption.cpp
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/modules/accessibility/AXMenuList.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/accessibility/AXMenuList.cpp
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/modules/accessibility/AXObjectCacheImpl.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/modules/accessibility/AXProgressIndicator.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/accessibility/AXProgressIndicator.cpp
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/modules/accessibility/AXSlider.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/accessibility/AXSlider.cpp
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6 (2 generated)
|