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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp

Issue 2150003005: Add grid/flex layout support for <fieldset> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert a11y test expectations & explicitely set a11y fieldset role to GroupRole Created 4 years, 5 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: third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
index 25f61a60246d57532a2d0f8063587c6792d06814..710e7d3201224a4b54feca58ffd5f26eb76cc5fe 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
@@ -521,6 +521,10 @@ AccessibilityRole AXNodeObject::nativeAccessibilityRoleIgnoringAria() const
if (isHTMLHRElement(*getNode()))
return SplitterRole;
+ if (isFieldset()) {
+ return GroupRole;
+ }
+
return UnknownRole;
}

Powered by Google App Engine
This is Rietveld 408576698