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

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

Issue 1595063002: Adds AX role for abbr tag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
Index: content/renderer/accessibility/blink_ax_enum_conversion.cc
diff --git a/content/renderer/accessibility/blink_ax_enum_conversion.cc b/content/renderer/accessibility/blink_ax_enum_conversion.cc
index 1c56d5ae116abf41dc828c1b32b0e754f03784c3..88f0fff619a5fcf2b51e7ef05fb79f0a51bff962 100644
--- a/content/renderer/accessibility/blink_ax_enum_conversion.cc
+++ b/content/renderer/accessibility/blink_ax_enum_conversion.cc
@@ -92,6 +92,8 @@ uint32_t AXStateFromBlink(const blink::WebAXObject& o) {
ui::AXRole AXRoleFromBlink(blink::WebAXRole role) {
switch (role) {
+ case blink::WebAXRoleAbbr:
+ return ui::AX_ROLE_ABBR;
case blink::WebAXRoleAlert:
return ui::AX_ROLE_ALERT;
case blink::WebAXRoleAlertDialog:
« no previous file with comments | « content/browser/accessibility/browser_accessibility_win.cc ('k') | content/test/data/accessibility/html/abbr-expected-mac.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698