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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-ignoredNodes-expected.txt

Issue 2322413003: Show ancestor hierarchy in accessibility panel (Closed)
Patch Set: Add new test for ancestors Created 4 years, 3 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
Index: third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-ignoredNodes-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-ignoredNodes-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-ignoredNodes-expected.txt
index 7d014c6b66aa09cd147052c29ad9c6d7124328ad..a9214236607c6bf22390964974427ba458cbb26e 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-ignoredNodes-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-ignoredNodes-expected.txt
@@ -10,432 +10,462 @@ Content within label refers to label container
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "internalRole",
- "value": "Div"
- },
- "name": {
- "type": "computedString",
- "value": "",
- "sources": [
- {
- "type": "relatedElement",
- "attribute": "aria-labelledby"
- },
- {
- "type": "attribute",
- "attribute": "aria-label"
- },
- {
- "type": "attribute",
- "attribute": "title"
- }
- ]
- },
- "properties": []
- }
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "internalRole",
+ "value": "Div"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby"
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "attribute",
+ "attribute": "title"
+ }
+ ]
+ },
+ "properties": []
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "treeitem"
- },
- "name": {
- "type": "computedString",
- "value": "non-hidden treeitem",
- "sources": [
- {
- "type": "relatedElement",
- "attribute": "aria-labelledby"
- },
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "treeitem"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "non-hidden treeitem",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby"
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "non-hidden treeitem"
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "attribute",
- "attribute": "aria-label"
+ "name": "level",
+ "value": {
+ "type": "integer",
+ "value": 1
+ }
},
{
- "type": "contents",
+ "name": "checked",
"value": {
- "type": "computedString",
- "value": "non-hidden treeitem"
+ "type": "tristate",
+ "value": "false"
}
},
{
- "type": "attribute",
- "attribute": "title",
- "superseded": true
+ "name": "selected",
+ "value": {
+ "type": "boolean",
+ "value": false
+ }
}
]
- },
- "properties": [
- {
- "name": "level",
- "value": {
- "type": "integer",
- "value": 1
- }
- },
- {
- "name": "checked",
- "value": {
- "type": "tristate",
- "value": "false"
- }
- },
- {
- "name": "selected",
- "value": {
- "type": "boolean",
- "value": false
- }
- }
- ]
- }
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": true,
- "ignoredReasons": [
- {
- "name": "ancestorDisallowsChild",
- "value": {
- "type": "idref",
- "relatedNodes": [
- {
- "nodeResult": "div"
- }
- ]
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": true,
+ "ignoredReasons": [
+ {
+ "name": "ancestorDisallowsChild",
+ "value": {
+ "type": "idref",
+ "relatedNodes": [
+ {
+ "nodeResult": "div"
+ }
+ ]
+ }
}
+ ],
+ "role": {
+ "type": "internalRole",
+ "value": "Div"
}
- ],
- "role": {
- "type": "internalRole",
- "value": "Div"
}
- }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": true,
- "ignoredReasons": [
- {
- "name": "ancestorDisallowsChild",
- "value": {
- "type": "idref",
- "relatedNodes": [
- {
- "nodeResult": "div"
- }
- ]
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": true,
+ "ignoredReasons": [
+ {
+ "name": "ancestorDisallowsChild",
+ "value": {
+ "type": "idref",
+ "relatedNodes": [
+ {
+ "nodeResult": "div"
+ }
+ ]
+ }
}
+ ],
+ "role": {
+ "type": "internalRole",
+ "value": "SVGRoot"
}
- ],
- "role": {
- "type": "internalRole",
- "value": "SVGRoot"
}
- }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": true,
- "ignoredReasons": [
- {
- "name": "ancestorIsLeafNode",
- "value": {
- "type": "idref",
- "relatedNodes": [
- {
- "nodeResult": "button"
- }
- ]
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": true,
+ "ignoredReasons": [
+ {
+ "name": "ancestorIsLeafNode",
+ "value": {
+ "type": "idref",
+ "relatedNodes": [
+ {
+ "nodeResult": "button"
+ }
+ ]
+ }
}
+ ],
+ "role": {
+ "type": "internalRole",
+ "value": "Unknown"
}
- ],
- "role": {
- "type": "internalRole",
- "value": "Unknown"
}
- }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": true,
- "ignoredReasons": [
- {
- "name": "ariaHidden",
- "value": {
- "type": "boolean",
- "value": true
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": true,
+ "ignoredReasons": [
+ {
+ "name": "ariaHidden",
+ "value": {
+ "type": "boolean",
+ "value": true
+ }
}
+ ],
+ "role": {
+ "type": "internalRole",
+ "value": "Div"
}
- ],
- "role": {
- "type": "internalRole",
- "value": "Div"
}
- }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": true,
- "ignoredReasons": [
- {
- "name": "ariaHiddenRoot",
- "value": {
- "type": "idref",
- "relatedNodes": [
- {
- "nodeResult": "div"
- }
- ]
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": true,
+ "ignoredReasons": [
+ {
+ "name": "ariaHiddenRoot",
+ "value": {
+ "type": "idref",
+ "relatedNodes": [
+ {
+ "nodeResult": "div"
+ }
+ ]
+ }
}
+ ],
+ "role": {
+ "type": "internalRole",
+ "value": "Div"
}
- ],
- "role": {
- "type": "internalRole",
- "value": "Div"
}
- }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": true,
- "ignoredReasons": [
- {
- "name": "emptyAlt",
- "value": {
- "type": "boolean",
- "value": true
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": true,
+ "ignoredReasons": [
+ {
+ "name": "emptyAlt",
+ "value": {
+ "type": "boolean",
+ "value": true
+ }
}
+ ],
+ "role": {
+ "type": "role",
+ "value": "img"
}
- ],
- "role": {
- "type": "role",
- "value": "img"
}
- }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": true,
- "ignoredReasons": [
- {
- "name": "presentationalRole",
- "value": {
- "type": "boolean",
- "value": true
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": true,
+ "ignoredReasons": [
+ {
+ "name": "presentationalRole",
+ "value": {
+ "type": "boolean",
+ "value": true
+ }
}
+ ],
+ "role": {
+ "type": "role",
+ "value": "none"
}
- ],
- "role": {
- "type": "role",
- "value": "none"
}
- }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": true,
- "ignoredReasons": [
- {
- "name": "inheritsPresentation",
- "value": {
- "type": "idref",
- "relatedNodes": [
- {
- "nodeResult": "ol"
- }
- ]
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": true,
+ "ignoredReasons": [
+ {
+ "name": "inheritsPresentation",
+ "value": {
+ "type": "idref",
+ "relatedNodes": [
+ {
+ "nodeResult": "ol"
+ }
+ ]
+ }
}
+ ],
+ "role": {
+ "type": "role",
+ "value": "listitem"
}
- ],
- "role": {
- "type": "role",
- "value": "listitem"
}
- }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "internalRole",
- "value": "Div"
- },
- "name": {
- "type": "computedString",
- "value": "",
- "sources": [
- {
- "type": "relatedElement",
- "attribute": "aria-labelledby"
- },
- {
- "type": "attribute",
- "attribute": "aria-label"
- },
- {
- "type": "attribute",
- "attribute": "title"
- }
- ]
- },
- "properties": []
- }
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "internalRole",
+ "value": "Div"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby"
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "attribute",
+ "attribute": "title"
+ }
+ ]
+ },
+ "properties": []
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": true,
- "ignoredReasons": [
- {
- "name": "labelFor",
- "value": {
- "type": "idref",
- "relatedNodes": [
- {
- "idref": "checkbox",
- "nodeResult": "input#checkbox"
- }
- ]
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": true,
+ "ignoredReasons": [
+ {
+ "name": "labelFor",
+ "value": {
+ "type": "idref",
+ "relatedNodes": [
+ {
+ "idref": "checkbox",
+ "nodeResult": "input#checkbox"
+ }
+ ]
+ }
}
+ ],
+ "role": {
+ "type": "internalRole",
+ "value": "Label"
}
- ],
- "role": {
- "type": "internalRole",
- "value": "Label"
}
- }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": true,
- "ignoredReasons": [
- {
- "name": "labelContainer",
- "value": {
- "type": "idref",
- "relatedNodes": [
- {
- "nodeResult": "label"
- }
- ]
- }
- },
- {
- "name": "labelFor",
- "value": {
- "type": "idref",
- "relatedNodes": [
- {
- "idref": "checkbox",
- "nodeResult": "input#checkbox"
- }
- ]
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": true,
+ "ignoredReasons": [
+ {
+ "name": "labelContainer",
+ "value": {
+ "type": "idref",
+ "relatedNodes": [
+ {
+ "nodeResult": "label"
+ }
+ ]
+ }
+ },
+ {
+ "name": "labelFor",
+ "value": {
+ "type": "idref",
+ "relatedNodes": [
+ {
+ "idref": "checkbox",
+ "nodeResult": "input#checkbox"
+ }
+ ]
+ }
}
+ ],
+ "role": {
+ "type": "internalRole",
+ "value": "Unknown"
}
- ],
- "role": {
- "type": "internalRole",
- "value": "Unknown"
}
- }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": true,
- "ignoredReasons": [
- {
- "name": "notRendered",
- "value": {
- "type": "boolean",
- "value": true
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": true,
+ "ignoredReasons": [
+ {
+ "name": "notRendered",
+ "value": {
+ "type": "boolean",
+ "value": true
+ }
}
+ ],
+ "role": {
+ "type": "internalRole",
+ "value": "Div"
}
- ],
- "role": {
- "type": "internalRole",
- "value": "Div"
}
- }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": true,
- "ignoredReasons": [
- {
- "name": "probablyPresentational",
- "value": {
- "type": "boolean",
- "value": true
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": true,
+ "ignoredReasons": [
+ {
+ "name": "probablyPresentational",
+ "value": {
+ "type": "boolean",
+ "value": true
+ }
}
+ ],
+ "role": {
+ "type": "internalRole",
+ "value": "Canvas"
}
- ],
- "role": {
- "type": "internalRole",
- "value": "Canvas"
}
- }
+ ]
}
}

Powered by Google App Engine
This is Rietveld 408576698