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

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

Issue 710123002: AXRoleDescription for html figure tag would be 'figure'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
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 242af4f22e965a79883c9c5231d69e70f03cb4e4..b7092e33c4b35450e24868419735da7dd8b0e211 100644
--- a/content/renderer/accessibility/blink_ax_tree_source.cc
+++ b/content/renderer/accessibility/blink_ax_tree_source.cc
@@ -70,6 +70,8 @@ std::string GetEquivalentAriaRoleString(const ui::AXRole role) {
return "button";
case ui::AX_ROLE_COMPLEMENTARY:
return "complementary";
+ case ui::AX_ROLE_FIGURE:
+ return "figure";
case ui::AX_ROLE_FOOTER:
return "contentinfo";
case ui::AX_ROLE_IMAGE:
« no previous file with comments | « content/browser/accessibility/browser_accessibility_cocoa.mm ('k') | content/test/data/accessibility/figure.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698