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

Unified Diff: Source/core/accessibility/AXRenderObject.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 | « Source/core/accessibility/AXNodeObject.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXRenderObject.cpp
diff --git a/Source/core/accessibility/AXRenderObject.cpp b/Source/core/accessibility/AXRenderObject.cpp
index efe92b306a943aa55dd907236aceae31105bb6f0..f08c360f8b76b5ac18bf1558abff447d59183668 100644
--- a/Source/core/accessibility/AXRenderObject.cpp
+++ b/Source/core/accessibility/AXRenderObject.cpp
@@ -335,6 +335,8 @@ AccessibilityRole AXRenderObject::determineAccessibilityRole()
return MenuItemRadioRole;
return RadioButtonRole;
}
+ if (type == InputTypeNames::number)
+ return SpinButtonRole;
if (input.isTextButton())
return buttonRoleType();
if (type == InputTypeNames::color)
« no previous file with comments | « Source/core/accessibility/AXNodeObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698