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

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

Issue 2653063002: Add 4 ARIA 1.1 attributes using new sparse attribute interface. (Closed)
Patch Set: Rebase Created 3 years, 11 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 77979a5bb04836decc888f15a12c22959b0f613f..eb78cb10a5099650fd185e81be9c8c5553912d57 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
@@ -193,6 +193,18 @@ static AXSparseAttributeSetterMap& getSparseAttributeSetterMap() {
axSparseAttributeSetterMap.set(
aria_flowtoAttr,
new ObjectVectorAttributeSetter(AXObjectVectorAttribute::AriaFlowTo));
+ axSparseAttributeSetterMap.set(
+ aria_detailsAttr,
+ new ObjectVectorAttributeSetter(AXObjectVectorAttribute::AriaDetails));
+ axSparseAttributeSetterMap.set(
+ aria_errormessageAttr,
+ new ObjectAttributeSetter(AXObjectAttribute::AriaErrorMessage));
+ axSparseAttributeSetterMap.set(
+ aria_keyshortcutsAttr,
+ new StringAttributeSetter(AXStringAttribute::AriaKeyShortcuts));
+ axSparseAttributeSetterMap.set(
+ aria_roledescriptionAttr,
+ new StringAttributeSetter(AXStringAttribute::AriaRoleDescription));
}
return axSparseAttributeSetterMap;
}

Powered by Google App Engine
This is Rietveld 408576698