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

Unified Diff: Source/modules/accessibility/AXRenderObject.cpp

Issue 723123002: Default orientation for aria scrollbars should be vertical (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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
« no previous file with comments | « LayoutTests/accessibility/aria-scrollbar-role-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXRenderObject.cpp
diff --git a/Source/modules/accessibility/AXRenderObject.cpp b/Source/modules/accessibility/AXRenderObject.cpp
index f262d7b35daa23ee55f6fa83987a6fff6de7a295..9f00a37b617d5f0ea1b29ecef075b92be63f7c34 100644
--- a/Source/modules/accessibility/AXRenderObject.cpp
+++ b/Source/modules/accessibility/AXRenderObject.cpp
@@ -849,6 +849,9 @@ AccessibilityOrientation AXRenderObject::orientation() const
if (equalIgnoringCase(ariaOrientation, "vertical"))
return AccessibilityOrientationVertical;
+ if (isScrollbar())
+ return AccessibilityOrientationVertical;
+
return AXObject::orientation();
}
« no previous file with comments | « LayoutTests/accessibility/aria-scrollbar-role-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698