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

Unified Diff: Source/core/accessibility/AXNodeObject.cpp

Issue 653433002: Input type number should return SpinButtonRole from blink to chromium side to expose w correct role. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updating based on latest editor draft spec 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
« no previous file with comments | « no previous file | Source/core/accessibility/AXRenderObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXNodeObject.cpp
diff --git a/Source/core/accessibility/AXNodeObject.cpp b/Source/core/accessibility/AXNodeObject.cpp
index 917f64a04c8d02f4d37d2d1937f2474c6f17f19c..35c842a261b13b2b23318087c434a50d4b7a0f82 100644
--- a/Source/core/accessibility/AXNodeObject.cpp
+++ b/Source/core/accessibility/AXNodeObject.cpp
@@ -225,6 +225,8 @@ AccessibilityRole AXNodeObject::determineAccessibilityRole()
return MenuItemRadioRole;
return RadioButtonRole;
}
+ if (type == InputTypeNames::number)
+ return SpinButtonRole;
if (input.isTextButton())
return buttonRoleType();
if (type == InputTypeNames::range)
« no previous file with comments | « no previous file | Source/core/accessibility/AXRenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698