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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObject.h

Issue 1841333002: Various fixes for aria-activedescendant. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added selectable and selected states to ARIA list box options. Created 4 years, 9 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/AXObject.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.h b/third_party/WebKit/Source/modules/accessibility/AXObject.h
index e45fb1af30b130c1e9972ef923cfa00d3b4aae1c..347f9fdd34e7e2be7678fe346431fdc3488b6dd3 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.h
@@ -646,6 +646,7 @@ public:
void setLastKnownIsIgnoredValue(bool);
bool hasInheritedPresentationalRole() const;
bool isPresentationalChild() const;
+ bool ancestorExposesActiveDescendant() const;
//
// Accessible name calculation
@@ -757,7 +758,7 @@ public:
virtual AccessibilityRole ariaRoleAttribute() const { return UnknownRole; }
virtual bool ariaRoleHasPresentationalChildren() const { return false; }
virtual AXObject* ancestorForWhichThisIsAPresentationalChild() const { return 0; }
- virtual bool shouldFocusActiveDescendant() const { return false; }
+ bool supportsActiveDescendant() const;
bool supportsARIAAttributes() const;
virtual bool supportsARIADragging() const { return false; }
virtual bool supportsARIADropping() const { return false; }

Powered by Google App Engine
This is Rietveld 408576698