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

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: Removing IgnoredReasons from protocol 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 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 5121 matching lines...) Expand 10 before | Expand all | Expand 10 after
5132 "id": "AXRelationshipAttributes", 5132 "id": "AXRelationshipAttributes",
5133 "type": "string", 5133 "type": "string",
5134 "enum": [ "activedescendant", "flowto", "controls", "describedby ", "labelledby", "owns" ], 5134 "enum": [ "activedescendant", "flowto", "controls", "describedby ", "labelledby", "owns" ],
5135 "description": "Relationships between elements other than parent /child/sibling." 5135 "description": "Relationships between elements other than parent /child/sibling."
5136 }, 5136 },
5137 { 5137 {
5138 "id": "AXNode", 5138 "id": "AXNode",
5139 "type": "object", 5139 "type": "object",
5140 "properties": [ 5140 "properties": [
5141 { "name": "nodeId", "$ref": "AXNodeId", "description": "Uniq ue identifier for this node." }, 5141 { "name": "nodeId", "$ref": "AXNodeId", "description": "Uniq ue identifier for this node." },
5142 { "name": "role", "$ref": "AXValue", "description": "This <c ode>Node</code>'s role, whether explicit or implicit." }, 5142 { "name": "ignored", "type": "boolean", "description": "Whet her this node is ignored for accessibility" },
5143 { "name": "ignoredReasons", "type": "array", "items": { "$re f": "AXProperty" }, "description": "Collection of reasons why this node is hidde n.", "optional": true },
5144 { "name": "role", "$ref": "AXValue", "description": "This <c ode>Node</code>'s role, whether explicit or implicit.", "optional": true},
5143 { "name": "name", "$ref": "AXValue", "description": "The acc essible name for this <code>Node</code>.", "optional": true }, 5145 { "name": "name", "$ref": "AXValue", "description": "The acc essible name for this <code>Node</code>.", "optional": true },
5144 { "name": "description", "$ref": "AXValue", "description": " The accessible description for this <code>Node</code>.", "optional": true }, 5146 { "name": "description", "$ref": "AXValue", "description": " The accessible description for this <code>Node</code>.", "optional": true },
5145 { "name": "value", "$ref": "AXValue", "description": "The va lue for this <code>Node</code>.", "optional": true }, 5147 { "name": "value", "$ref": "AXValue", "description": "The va lue for this <code>Node</code>.", "optional": true },
5146 { "name": "help", "$ref": "AXValue", "description": "Help.", "optional": true }, 5148 { "name": "help", "$ref": "AXValue", "description": "Help.", "optional": true },
5147 { "name": "properties", "type": "array", "items": { "$ref": "AXProperty" }, "description": "All other properties" } 5149 { "name": "properties", "type": "array", "items": { "$ref": "AXProperty" }, "description": "All other properties", "optional": true }
5148 ], 5150 ],
5149 "description": "A node in the accessibility tree." 5151 "description": "A node in the accessibility tree."
5150 } 5152 }
5151 ], 5153 ],
5152 "commands": [ 5154 "commands": [
5153 { 5155 {
5154 "name": "getAXNode", 5156 "name": "getAXNode",
5155 "parameters": [ 5157 "parameters": [
5156 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "ID of node to get accessibility node for." } 5158 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "ID of node to get accessibility node for." }
5157 ], 5159 ],
5158 "returns": [ 5160 "returns": [
5159 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5161 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5160 ], 5162 ],
5161 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5163 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5162 "hidden": true 5164 "hidden": true
5163 } 5165 }
5164 ] 5166 ]
5165 }] 5167 }]
5166 } 5168 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698