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

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

Issue 704083004: ARIA role 'form' is not supported. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding form role in isLandmarkRelated() 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXObject.cpp
diff --git a/Source/core/accessibility/AXObject.cpp b/Source/core/accessibility/AXObject.cpp
index 89f6e47099b1cfdc9644fefe8fbceac54b1d5804..e08317b9903e466578dbc36c7e8f264fb321c3fe 100644
--- a/Source/core/accessibility/AXObject.cpp
+++ b/Source/core/accessibility/AXObject.cpp
@@ -76,6 +76,7 @@ static ARIARoleMap* createARIARoleMap()
{ "definition", DefinitionRole },
{ "document", DocumentRole },
{ "rowheader", RowHeaderRole },
+ { "form", FormRole },
{ "group", GroupRole },
{ "heading", HeadingRole },
{ "img", ImageRole },
@@ -189,6 +190,7 @@ bool AXObject::isLandmarkRelated() const
case ComplementaryRole:
case ContentInfoRole:
case FooterRole:
+ case FormRole:
case MainRole:
case NavigationRole:
case RegionRole:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698