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

Side by Side 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: pfeldman review comments (take 3) Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 5122 matching lines...) Expand 10 before | Expand all | Expand 10 after
5133 "id": "AXRelationshipAttributes", 5133 "id": "AXRelationshipAttributes",
5134 "type": "string", 5134 "type": "string",
5135 "enum": [ "activedescendant", "flowto", "controls", "describedby ", "labelledby", "owns" ], 5135 "enum": [ "activedescendant", "flowto", "controls", "describedby ", "labelledby", "owns" ],
5136 "description": "Relationships between elements other than parent /child/sibling." 5136 "description": "Relationships between elements other than parent /child/sibling."
5137 }, 5137 },
5138 { 5138 {
5139 "id": "AXNode", 5139 "id": "AXNode",
5140 "type": "object", 5140 "type": "object",
5141 "properties": [ 5141 "properties": [
5142 { "name": "nodeId", "$ref": "AXNodeId", "description": "Uniq ue identifier for this node." }, 5142 { "name": "nodeId", "$ref": "AXNodeId", "description": "Uniq ue identifier for this node." },
5143 { "name": "role", "$ref": "AXValue", "description": "This <c ode>Node</code>'s role, whether explicit or implicit." }, 5143 { "name": "ignored", "type": "boolean", "description": "Whet her this node is ignored for accessibility" },
5144 { "name": "ignoredReasons", "type": "array", "items": { "$re f": "AXProperty" }, "description": "Collection of reasons why this node is hidde n.", "optional": true },
5145 { "name": "role", "$ref": "AXValue", "description": "This <c ode>Node</code>'s role, whether explicit or implicit.", "optional": true},
5144 { "name": "name", "$ref": "AXValue", "description": "The acc essible name for this <code>Node</code>.", "optional": true }, 5146 { "name": "name", "$ref": "AXValue", "description": "The acc essible name for this <code>Node</code>.", "optional": true },
5145 { "name": "description", "$ref": "AXValue", "description": " The accessible description for this <code>Node</code>.", "optional": true }, 5147 { "name": "description", "$ref": "AXValue", "description": " The accessible description for this <code>Node</code>.", "optional": true },
5146 { "name": "value", "$ref": "AXValue", "description": "The va lue for this <code>Node</code>.", "optional": true }, 5148 { "name": "value", "$ref": "AXValue", "description": "The va lue for this <code>Node</code>.", "optional": true },
5147 { "name": "help", "$ref": "AXValue", "description": "Help.", "optional": true }, 5149 { "name": "help", "$ref": "AXValue", "description": "Help.", "optional": true },
5148 { "name": "properties", "type": "array", "items": { "$ref": "AXProperty" }, "description": "All other properties" } 5150 { "name": "properties", "type": "array", "items": { "$ref": "AXProperty" }, "description": "All other properties", "optional": true }
5149 ], 5151 ],
5150 "description": "A node in the accessibility tree." 5152 "description": "A node in the accessibility tree."
5151 } 5153 }
5152 ], 5154 ],
5153 "commands": [ 5155 "commands": [
5154 { 5156 {
5155 "name": "getAXNode", 5157 "name": "getAXNode",
5156 "parameters": [ 5158 "parameters": [
5157 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "ID of node to get accessibility node for." } 5159 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "ID of node to get accessibility node for." }
5158 ], 5160 ],
5159 "returns": [ 5161 "returns": [
5160 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5162 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5161 ], 5163 ],
5162 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5164 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5163 "hidden": true 5165 "hidden": true
5164 } 5166 }
5165 ] 5167 ]
5166 }] 5168 }]
5167 } 5169 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698