|
|
Add support for new accessibility roles from WebKit, with tests.
These roles worked before, but the code is now cleaner because
they directly correspond to a WebKit role, rather than requiring
matching on the tag name:
div, form, hr, label, p, presentational, spinbuttonpart
These roles bring new support for roles that were not previously
accessible:
canvas, spinbutton, togglebutton.
All of the interesting cases have new tests (content_browsertest target).
BUG= 145346, 143689
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156272
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+244 lines, -8 lines) |
Patch |
 |
M |
content/browser/accessibility/browser_accessibility_cocoa.mm
|
View
|
|
5 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/browser_accessibility_win.cc
|
View
|
1
|
10 chunks |
+37 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/dump_accessibility_tree_browsertest.cc
|
View
|
|
3 chunks |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/accessibility_node_data.h
|
View
|
|
5 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/accessibility_node_data.cc
|
View
|
|
5 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/accessibility_node_serializer.cc
|
View
|
1
|
10 chunks |
+25 lines, -1 line |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/canvas.html
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/canvas-expected-mac.txt
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/canvas-expected-win.txt
|
View
|
1
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/div.html
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/div-expected-mac.txt
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/div-expected-win.txt
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/form.html
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/form-expected-mac.txt
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/form-expected-win.txt
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/hr.html
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/hr-expected-mac.txt
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/hr-expected-win.txt
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/label.html
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/label-expected-mac.txt
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/label-expected-win.txt
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/p.html
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/p-expected-mac.txt
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/p-expected-win.txt
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/spinbutton.html
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/spinbutton-expected-mac.txt
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A + |
content/test/data/accessibility/spinbutton-expected-win.txt
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/togglebutton.html
|
View
|
1
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/togglebutton-expected-mac.txt
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/accessibility/togglebutton-expected-win.txt
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|