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

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: rebase 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 5067 matching lines...) Expand 10 before | Expand all | Expand 10 after
5078 "enum": [ "checked", "expanded", "pressed", "selected" ], 5078 "enum": [ "checked", "expanded", "pressed", "selected" ],
5079 "description": "States which apply to widgets." 5079 "description": "States which apply to widgets."
5080 }, 5080 },
5081 { 5081 {
5082 "id": "AXRelationshipAttributes", 5082 "id": "AXRelationshipAttributes",
5083 "type": "string", 5083 "type": "string",
5084 "enum": [ "activedescendant", "flowto", "controls", "describedby ", "labelledby", "owns" ], 5084 "enum": [ "activedescendant", "flowto", "controls", "describedby ", "labelledby", "owns" ],
5085 "description": "Relationships between elements other than parent /child/sibling." 5085 "description": "Relationships between elements other than parent /child/sibling."
5086 }, 5086 },
5087 { 5087 {
5088 "id": "AXIgnoredReasons",
5089 "type": "string",
5090 "enum": [ "activeModalDialog", "ancestorDisallowsChild", "ancest orIsLeafNode", "ariaHidden", "ariaHiddenRoot", "emptyAlt", "emptyText", "inherit sPresentation", "labelContainer", "labelFor", "notRendered", "notVisible", "prob ablyPresentational", "staticTextUsedAsNameFor", "uninteresting" ],
5091 "description": "Enum of possible reasons why a node could be ign ored for accessibility."
5092 },
5093 {
5088 "id": "AXNode", 5094 "id": "AXNode",
5089 "type": "object", 5095 "type": "object",
5090 "properties": [ 5096 "properties": [
5091 { "name": "nodeId", "$ref": "AXNodeId", "description": "Uniq ue identifier for this node." }, 5097 { "name": "nodeId", "$ref": "AXNodeId", "description": "Uniq ue identifier for this node." },
5092 { "name": "role", "$ref": "AXValue", "description": "This <c ode>Node</code>'s role, whether explicit or implicit." }, 5098 { "name": "ignored", "type": "boolean", "description": "Whet her this node is ignored for accessibility" },
5099 { "name": "ignoredReasons", "type": "array", "items": { "$re f": "AXProperty" }, "description": "Collection of reasons why this node is hidde n.", "optional": true },
5100 { "name": "role", "$ref": "AXValue", "description": "This <c ode>Node</code>'s role, whether explicit or implicit.", "optional": true},
5093 { "name": "name", "$ref": "AXValue", "description": "The acc essible name for this <code>Node</code>.", "optional": true }, 5101 { "name": "name", "$ref": "AXValue", "description": "The acc essible name for this <code>Node</code>.", "optional": true },
5094 { "name": "description", "$ref": "AXValue", "description": " The accessible description for this <code>Node</code>.", "optional": true }, 5102 { "name": "description", "$ref": "AXValue", "description": " The accessible description for this <code>Node</code>.", "optional": true },
5095 { "name": "value", "$ref": "AXValue", "description": "The va lue for this <code>Node</code>.", "optional": true }, 5103 { "name": "value", "$ref": "AXValue", "description": "The va lue for this <code>Node</code>.", "optional": true },
5096 { "name": "help", "$ref": "AXValue", "description": "Help.", "optional": true }, 5104 { "name": "help", "$ref": "AXValue", "description": "Help.", "optional": true },
5097 { "name": "properties", "type": "array", "items": { "$ref": "AXProperty" }, "description": "All other properties" } 5105 { "name": "properties", "type": "array", "items": { "$ref": "AXProperty" }, "description": "All other properties", "optional": true }
5098 ], 5106 ],
5099 "description": "A node in the accessibility tree." 5107 "description": "A node in the accessibility tree."
5100 } 5108 }
5101 ], 5109 ],
5102 "commands": [ 5110 "commands": [
5103 { 5111 {
5104 "name": "getAXNode", 5112 "name": "getAXNode",
5105 "parameters": [ 5113 "parameters": [
5106 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "ID of node to get accessibility node for." } 5114 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "ID of node to get accessibility node for." }
5107 ], 5115 ],
5108 "returns": [ 5116 "returns": [
5109 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5117 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5110 ], 5118 ],
5111 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5119 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5112 "hidden": true 5120 "hidden": true
5113 } 5121 }
5114 ] 5122 ]
5115 }] 5123 }]
5116 } 5124 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698