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

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

Issue 588653003: Adding support for ARIA 1.1 role="none" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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: Source/core/accessibility/AXObject.cpp
diff --git a/Source/core/accessibility/AXObject.cpp b/Source/core/accessibility/AXObject.cpp
index 52520ae2f6c94d9df3585c017ad50ae4ad28655e..69b6f086cd425e6589eb313fe62963dc1e64a338 100644
--- a/Source/core/accessibility/AXObject.cpp
+++ b/Source/core/accessibility/AXObject.cpp
@@ -95,6 +95,7 @@ static ARIARoleMap* createARIARoleMap()
{ "menuitemradio", MenuItemRole },
{ "note", NoteRole },
{ "navigation", NavigationRole },
+ { "none", NoneRole },
{ "option", ListBoxOptionRole },
{ "presentation", PresentationalRole },
{ "progressbar", ProgressIndicatorRole },
@@ -296,7 +297,7 @@ AXObjectInclusion AXObject::defaultObjectInclusion() const
if (isInertOrAriaHidden())
return IgnoreObject;
- if (isPresentationalChildOfAriaRole())
+ if (isNoneOrPresentationalChildOfAriaRole())
shreeramk 2014/09/20 12:39:36 same query as mentioned in AXObject.h
return IgnoreObject;
return accessibilityPlatformIncludesObject();

Powered by Google App Engine
This is Rietveld 408576698