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

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: Add a catch-all return to ignoredReasonName 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 4939 matching lines...) Expand 10 before | Expand all | Expand 10 after
4950 "id": "AXRelationshipAttributes", 4950 "id": "AXRelationshipAttributes",
4951 "type": "string", 4951 "type": "string",
4952 "enum": [ "activedescendant", "flowto", "controls", "describedby ", "labelledby", "owns" ], 4952 "enum": [ "activedescendant", "flowto", "controls", "describedby ", "labelledby", "owns" ],
4953 "description": "Relationships between elements other than parent /child/sibling." 4953 "description": "Relationships between elements other than parent /child/sibling."
4954 }, 4954 },
4955 { 4955 {
4956 "id": "AXNode", 4956 "id": "AXNode",
4957 "type": "object", 4957 "type": "object",
4958 "properties": [ 4958 "properties": [
4959 { "name": "nodeId", "$ref": "AXNodeId", "description": "Uniq ue identifier for this node." }, 4959 { "name": "nodeId", "$ref": "AXNodeId", "description": "Uniq ue identifier for this node." },
4960 { "name": "role", "$ref": "AXValue", "description": "This <c ode>Node</code>'s role, whether explicit or implicit." }, 4960 { "name": "ignored", "type": "boolean", "description": "Whet her this node is ignored for accessibility" },
4961 { "name": "ignoredReasons", "type": "array", "items": { "$re f": "AXProperty" }, "description": "Collection of reasons why this node is hidde n.", "optional": true },
4962 { "name": "role", "$ref": "AXValue", "description": "This <c ode>Node</code>'s role, whether explicit or implicit.", "optional": true},
4961 { "name": "name", "$ref": "AXValue", "description": "The acc essible name for this <code>Node</code>.", "optional": true }, 4963 { "name": "name", "$ref": "AXValue", "description": "The acc essible name for this <code>Node</code>.", "optional": true },
4962 { "name": "description", "$ref": "AXValue", "description": " The accessible description for this <code>Node</code>.", "optional": true }, 4964 { "name": "description", "$ref": "AXValue", "description": " The accessible description for this <code>Node</code>.", "optional": true },
4963 { "name": "value", "$ref": "AXValue", "description": "The va lue for this <code>Node</code>.", "optional": true }, 4965 { "name": "value", "$ref": "AXValue", "description": "The va lue for this <code>Node</code>.", "optional": true },
4964 { "name": "help", "$ref": "AXValue", "description": "Help.", "optional": true }, 4966 { "name": "help", "$ref": "AXValue", "description": "Help.", "optional": true },
4965 { "name": "properties", "type": "array", "items": { "$ref": "AXProperty" }, "description": "All other properties" } 4967 { "name": "properties", "type": "array", "items": { "$ref": "AXProperty" }, "description": "All other properties", "optional": true }
4966 ], 4968 ],
4967 "description": "A node in the accessibility tree." 4969 "description": "A node in the accessibility tree."
4968 } 4970 }
4969 ], 4971 ],
4970 "commands": [ 4972 "commands": [
4971 { 4973 {
4972 "name": "getAXNode", 4974 "name": "getAXNode",
4973 "parameters": [ 4975 "parameters": [
4974 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "ID of node to get accessibility node for." } 4976 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "ID of node to get accessibility node for." }
4975 ], 4977 ],
4976 "returns": [ 4978 "returns": [
4977 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 4979 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
4978 ], 4980 ],
4979 "description": "Fetches the accessibility node for this DOM node , if it exists.", 4981 "description": "Fetches the accessibility node for this DOM node , if it exists.",
4980 "hidden": true 4982 "hidden": true
4981 } 4983 }
4982 ] 4984 ]
4983 }] 4985 }]
4984 } 4986 }
OLDNEW
« 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