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 a9214236607c6bf22390964974427ba458cbb26e..7d014c6b66aa09cd147052c29ad9c6d7124328ad 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,462 +10,432 @@ |
{ |
"id": "<int>", |
"result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": false, |
- "role": { |
- "type": "internalRole", |
- "value": "Div" |
+ "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": [] |
+ } |
+ } |
+} |
+{ |
+ "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" |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "aria-label" |
+ }, |
+ { |
+ "type": "contents", |
+ "value": { |
+ "type": "computedString", |
+ "value": "non-hidden treeitem" |
+ } |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "title", |
+ "superseded": true |
+ } |
+ ] |
+ }, |
+ "properties": [ |
+ { |
+ "name": "level", |
+ "value": { |
+ "type": "integer", |
+ "value": 1 |
+ } |
}, |
- "name": { |
- "type": "computedString", |
- "value": "", |
- "sources": [ |
- { |
- "type": "relatedElement", |
- "attribute": "aria-labelledby" |
- }, |
- { |
- "type": "attribute", |
- "attribute": "aria-label" |
- }, |
- { |
- "type": "attribute", |
- "attribute": "title" |
- } |
- ] |
+ { |
+ "name": "checked", |
+ "value": { |
+ "type": "tristate", |
+ "value": "false" |
+ } |
}, |
- "properties": [] |
- } |
- ] |
- } |
-} |
-{ |
- "id": "<int>", |
- "result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": false, |
- "role": { |
- "type": "role", |
- "value": "treeitem" |
+ { |
+ "name": "selected", |
+ "value": { |
+ "type": "boolean", |
+ "value": false |
+ } |
+ } |
+ ] |
+ } |
+ } |
+} |
+{ |
+ "id": "<int>", |
+ "result": { |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": true, |
+ "ignoredReasons": [ |
+ { |
+ "name": "ancestorDisallowsChild", |
+ "value": { |
+ "type": "idref", |
+ "relatedNodes": [ |
+ { |
+ "nodeResult": "div" |
+ } |
+ ] |
+ } |
+ } |
+ ], |
+ "role": { |
+ "type": "internalRole", |
+ "value": "Div" |
+ } |
+ } |
+ } |
+} |
+{ |
+ "id": "<int>", |
+ "result": { |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": true, |
+ "ignoredReasons": [ |
+ { |
+ "name": "ancestorDisallowsChild", |
+ "value": { |
+ "type": "idref", |
+ "relatedNodes": [ |
+ { |
+ "nodeResult": "div" |
+ } |
+ ] |
+ } |
+ } |
+ ], |
+ "role": { |
+ "type": "internalRole", |
+ "value": "SVGRoot" |
+ } |
+ } |
+ } |
+} |
+{ |
+ "id": "<int>", |
+ "result": { |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": true, |
+ "ignoredReasons": [ |
+ { |
+ "name": "ancestorIsLeafNode", |
+ "value": { |
+ "type": "idref", |
+ "relatedNodes": [ |
+ { |
+ "nodeResult": "button" |
+ } |
+ ] |
+ } |
+ } |
+ ], |
+ "role": { |
+ "type": "internalRole", |
+ "value": "Unknown" |
+ } |
+ } |
+ } |
+} |
+{ |
+ "id": "<int>", |
+ "result": { |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": true, |
+ "ignoredReasons": [ |
+ { |
+ "name": "ariaHidden", |
+ "value": { |
+ "type": "boolean", |
+ "value": true |
+ } |
+ } |
+ ], |
+ "role": { |
+ "type": "internalRole", |
+ "value": "Div" |
+ } |
+ } |
+ } |
+} |
+{ |
+ "id": "<int>", |
+ "result": { |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": true, |
+ "ignoredReasons": [ |
+ { |
+ "name": "ariaHiddenRoot", |
+ "value": { |
+ "type": "idref", |
+ "relatedNodes": [ |
+ { |
+ "nodeResult": "div" |
+ } |
+ ] |
+ } |
+ } |
+ ], |
+ "role": { |
+ "type": "internalRole", |
+ "value": "Div" |
+ } |
+ } |
+ } |
+} |
+{ |
+ "id": "<int>", |
+ "result": { |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": true, |
+ "ignoredReasons": [ |
+ { |
+ "name": "emptyAlt", |
+ "value": { |
+ "type": "boolean", |
+ "value": true |
+ } |
+ } |
+ ], |
+ "role": { |
+ "type": "role", |
+ "value": "img" |
+ } |
+ } |
+ } |
+} |
+{ |
+ "id": "<int>", |
+ "result": { |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": true, |
+ "ignoredReasons": [ |
+ { |
+ "name": "presentationalRole", |
+ "value": { |
+ "type": "boolean", |
+ "value": true |
+ } |
+ } |
+ ], |
+ "role": { |
+ "type": "role", |
+ "value": "none" |
+ } |
+ } |
+ } |
+} |
+{ |
+ "id": "<int>", |
+ "result": { |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": true, |
+ "ignoredReasons": [ |
+ { |
+ "name": "inheritsPresentation", |
+ "value": { |
+ "type": "idref", |
+ "relatedNodes": [ |
+ { |
+ "nodeResult": "ol" |
+ } |
+ ] |
+ } |
+ } |
+ ], |
+ "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": [] |
+ } |
+ } |
+} |
+{ |
+ "id": "<int>", |
+ "result": { |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": true, |
+ "ignoredReasons": [ |
+ { |
+ "name": "labelFor", |
+ "value": { |
+ "type": "idref", |
+ "relatedNodes": [ |
+ { |
+ "idref": "checkbox", |
+ "nodeResult": "input#checkbox" |
+ } |
+ ] |
+ } |
+ } |
+ ], |
+ "role": { |
+ "type": "internalRole", |
+ "value": "Label" |
+ } |
+ } |
+ } |
+} |
+{ |
+ "id": "<int>", |
+ "result": { |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": true, |
+ "ignoredReasons": [ |
+ { |
+ "name": "labelContainer", |
+ "value": { |
+ "type": "idref", |
+ "relatedNodes": [ |
+ { |
+ "nodeResult": "label" |
+ } |
+ ] |
+ } |
}, |
- "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": [ |
- { |
- "name": "level", |
- "value": { |
- "type": "integer", |
- "value": 1 |
- } |
- }, |
- { |
- "name": "checked", |
- "value": { |
- "type": "tristate", |
- "value": "false" |
- } |
- }, |
- { |
- "name": "selected", |
- "value": { |
- "type": "boolean", |
- "value": false |
- } |
- } |
- ] |
- } |
- ] |
- } |
-} |
-{ |
- "id": "<int>", |
- "result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": true, |
- "ignoredReasons": [ |
- { |
- "name": "ancestorDisallowsChild", |
- "value": { |
- "type": "idref", |
- "relatedNodes": [ |
- { |
- "nodeResult": "div" |
- } |
- ] |
- } |
- } |
- ], |
- "role": { |
- "type": "internalRole", |
- "value": "Div" |
- } |
- } |
- ] |
- } |
-} |
-{ |
- "id": "<int>", |
- "result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": true, |
- "ignoredReasons": [ |
- { |
- "name": "ancestorDisallowsChild", |
- "value": { |
- "type": "idref", |
- "relatedNodes": [ |
- { |
- "nodeResult": "div" |
- } |
- ] |
- } |
- } |
- ], |
- "role": { |
- "type": "internalRole", |
- "value": "SVGRoot" |
- } |
- } |
- ] |
- } |
-} |
-{ |
- "id": "<int>", |
- "result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": true, |
- "ignoredReasons": [ |
- { |
- "name": "ancestorIsLeafNode", |
- "value": { |
- "type": "idref", |
- "relatedNodes": [ |
- { |
- "nodeResult": "button" |
- } |
- ] |
- } |
- } |
- ], |
- "role": { |
- "type": "internalRole", |
- "value": "Unknown" |
- } |
- } |
- ] |
- } |
-} |
-{ |
- "id": "<int>", |
- "result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": true, |
- "ignoredReasons": [ |
- { |
- "name": "ariaHidden", |
- "value": { |
- "type": "boolean", |
- "value": true |
- } |
- } |
- ], |
- "role": { |
- "type": "internalRole", |
- "value": "Div" |
- } |
- } |
- ] |
- } |
-} |
-{ |
- "id": "<int>", |
- "result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": true, |
- "ignoredReasons": [ |
- { |
- "name": "ariaHiddenRoot", |
- "value": { |
- "type": "idref", |
- "relatedNodes": [ |
- { |
- "nodeResult": "div" |
- } |
- ] |
- } |
- } |
- ], |
- "role": { |
- "type": "internalRole", |
- "value": "Div" |
- } |
- } |
- ] |
- } |
-} |
-{ |
- "id": "<int>", |
- "result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": true, |
- "ignoredReasons": [ |
- { |
- "name": "emptyAlt", |
- "value": { |
- "type": "boolean", |
- "value": true |
- } |
- } |
- ], |
- "role": { |
- "type": "role", |
- "value": "img" |
- } |
- } |
- ] |
- } |
-} |
-{ |
- "id": "<int>", |
- "result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": true, |
- "ignoredReasons": [ |
- { |
- "name": "presentationalRole", |
- "value": { |
- "type": "boolean", |
- "value": true |
- } |
- } |
- ], |
- "role": { |
- "type": "role", |
- "value": "none" |
- } |
- } |
- ] |
- } |
-} |
-{ |
- "id": "<int>", |
- "result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": true, |
- "ignoredReasons": [ |
- { |
- "name": "inheritsPresentation", |
- "value": { |
- "type": "idref", |
- "relatedNodes": [ |
- { |
- "nodeResult": "ol" |
- } |
- ] |
- } |
- } |
- ], |
- "role": { |
- "type": "role", |
- "value": "listitem" |
- } |
- } |
- ] |
- } |
-} |
-{ |
- "id": "<int>", |
- "result": { |
- "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": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": true, |
- "ignoredReasons": [ |
- { |
- "name": "labelFor", |
- "value": { |
- "type": "idref", |
- "relatedNodes": [ |
- { |
- "idref": "checkbox", |
- "nodeResult": "input#checkbox" |
- } |
- ] |
- } |
- } |
- ], |
- "role": { |
- "type": "internalRole", |
- "value": "Label" |
- } |
- } |
- ] |
- } |
-} |
-{ |
- "id": "<int>", |
- "result": { |
- "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" |
- } |
- } |
- ] |
- } |
-} |
-{ |
- "id": "<int>", |
- "result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": true, |
- "ignoredReasons": [ |
- { |
- "name": "notRendered", |
- "value": { |
- "type": "boolean", |
- "value": true |
- } |
- } |
- ], |
- "role": { |
- "type": "internalRole", |
- "value": "Div" |
- } |
- } |
- ] |
- } |
-} |
-{ |
- "id": "<int>", |
- "result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": true, |
- "ignoredReasons": [ |
- { |
- "name": "probablyPresentational", |
- "value": { |
- "type": "boolean", |
- "value": true |
- } |
- } |
- ], |
- "role": { |
- "type": "internalRole", |
- "value": "Canvas" |
- } |
- } |
- ] |
+ { |
+ "name": "labelFor", |
+ "value": { |
+ "type": "idref", |
+ "relatedNodes": [ |
+ { |
+ "idref": "checkbox", |
+ "nodeResult": "input#checkbox" |
+ } |
+ ] |
+ } |
+ } |
+ ], |
+ "role": { |
+ "type": "internalRole", |
+ "value": "Unknown" |
+ } |
+ } |
+ } |
+} |
+{ |
+ "id": "<int>", |
+ "result": { |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": true, |
+ "ignoredReasons": [ |
+ { |
+ "name": "notRendered", |
+ "value": { |
+ "type": "boolean", |
+ "value": true |
+ } |
+ } |
+ ], |
+ "role": { |
+ "type": "internalRole", |
+ "value": "Div" |
+ } |
+ } |
+ } |
+} |
+{ |
+ "id": "<int>", |
+ "result": { |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": true, |
+ "ignoredReasons": [ |
+ { |
+ "name": "probablyPresentational", |
+ "value": { |
+ "type": "boolean", |
+ "value": true |
+ } |
+ } |
+ ], |
+ "role": { |
+ "type": "internalRole", |
+ "value": "Canvas" |
+ } |
+ } |
} |
} |