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

Unified Diff: Source/devtools/protocol.json

Issue 1076453004: Show reasons why nodes are ignored in accessibility sidebar (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add a catch-all return to ignoredReasonName Created 5 years, 8 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
« no previous file with comments | « Source/devtools/front_end/ui/UIUtils.js ('k') | Source/modules/accessibility/AXLayoutObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index a08fc7b1cbe5ae3aa65a33ddcec7b823278584f6..6b07a07861d52ff3a32de661493ac24ab9ecb799 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -4957,12 +4957,14 @@
"type": "object",
"properties": [
{ "name": "nodeId", "$ref": "AXNodeId", "description": "Unique identifier for this node." },
- { "name": "role", "$ref": "AXValue", "description": "This <code>Node</code>'s role, whether explicit or implicit." },
+ { "name": "ignored", "type": "boolean", "description": "Whether this node is ignored for accessibility" },
+ { "name": "ignoredReasons", "type": "array", "items": { "$ref": "AXProperty" }, "description": "Collection of reasons why this node is hidden.", "optional": true },
+ { "name": "role", "$ref": "AXValue", "description": "This <code>Node</code>'s role, whether explicit or implicit.", "optional": true},
{ "name": "name", "$ref": "AXValue", "description": "The accessible name for this <code>Node</code>.", "optional": true },
{ "name": "description", "$ref": "AXValue", "description": "The accessible description for this <code>Node</code>.", "optional": true },
{ "name": "value", "$ref": "AXValue", "description": "The value for this <code>Node</code>.", "optional": true },
{ "name": "help", "$ref": "AXValue", "description": "Help.", "optional": true },
- { "name": "properties", "type": "array", "items": { "$ref": "AXProperty" }, "description": "All other properties" }
+ { "name": "properties", "type": "array", "items": { "$ref": "AXProperty" }, "description": "All other properties", "optional": true }
],
"description": "A node in the accessibility tree."
}
« no previous file with comments | « Source/devtools/front_end/ui/UIUtils.js ('k') | Source/modules/accessibility/AXLayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698