Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1357)

Unified Diff: content/renderer/accessibility/blink_ax_tree_source.cc

Issue 610973002: hr tag should have xml role as separator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/test/data/accessibility/hr.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/accessibility/blink_ax_tree_source.cc
diff --git a/content/renderer/accessibility/blink_ax_tree_source.cc b/content/renderer/accessibility/blink_ax_tree_source.cc
index 8266c2fcc9758c88fc136d87a72d3e4e1b2e90f7..994550f32e8ef5396e158b04638d1fb2bfc3cfd4 100644
--- a/content/renderer/accessibility/blink_ax_tree_source.cc
+++ b/content/renderer/accessibility/blink_ax_tree_source.cc
@@ -75,6 +75,8 @@ std::string GetEquivalentAriaRoleString(const ui::AXRole role) {
case ui::AX_ROLE_CONTENT_INFO:
case ui::AX_ROLE_FOOTER:
return "contentinfo";
+ case ui::AX_ROLE_HORIZONTAL_RULE:
+ return "separator";
case ui::AX_ROLE_IMAGE:
return "img";
case ui::AX_ROLE_MAIN:
« no previous file with comments | « no previous file | content/test/data/accessibility/hr.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698