Index: third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-visiblity-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-visiblity-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-visiblity-expected.txt |
index fced50d66ceccd7b79ed07f3bb83bcd9df945251..067176d9ebceefc2480a1eed2f6b96ef4413e7a2 100644 |
--- a/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-visiblity-expected.txt |
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-visiblity-expected.txt |
@@ -1,134 +1,67 @@ |
{ |
"id": "<int>", |
"result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": false, |
- "role": { |
- "type": "role", |
- "value": "link" |
- }, |
- "name": { |
- "type": "computedString", |
- "value": "1 2 7", |
- "sources": [ |
- { |
- "type": "relatedElement", |
- "attribute": "aria-labelledby" |
- }, |
- { |
- "type": "attribute", |
- "attribute": "aria-label" |
- }, |
- { |
- "type": "contents", |
- "value": { |
- "type": "computedString", |
- "value": "1 2 7" |
- } |
- }, |
- { |
- "type": "attribute", |
- "attribute": "title", |
- "superseded": true |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": false, |
+ "role": { |
+ "type": "role", |
+ "value": "link" |
+ }, |
+ "name": { |
+ "type": "computedString", |
+ "value": "1 2 7", |
+ "sources": [ |
+ { |
+ "type": "relatedElement", |
+ "attribute": "aria-labelledby" |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "aria-label" |
+ }, |
+ { |
+ "type": "contents", |
+ "value": { |
+ "type": "computedString", |
+ "value": "1 2 7" |
} |
- ] |
- }, |
- "properties": [] |
- } |
- ] |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "title", |
+ "superseded": true |
+ } |
+ ] |
+ }, |
+ "properties": [] |
+ } |
} |
} |
{ |
"id": "<int>", |
"result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": false, |
- "role": { |
- "type": "role", |
- "value": "textbox" |
- }, |
- "name": { |
- "type": "computedString", |
- "value": "1 2 7", |
- "sources": [ |
- { |
- "type": "relatedElement", |
- "value": { |
- "type": "computedString", |
- "value": "1 2 7" |
- }, |
- "attribute": "aria-labelledby", |
- "attributeValue": { |
- "type": "idrefList", |
- "value": "label2", |
- "relatedNodes": [ |
- { |
- "idref": "label2", |
- "text": "1 2 7", |
- "nodeResult": "div#label2" |
- } |
- ] |
- } |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": false, |
+ "role": { |
+ "type": "role", |
+ "value": "textbox" |
+ }, |
+ "name": { |
+ "type": "computedString", |
+ "value": "1 2 7", |
+ "sources": [ |
+ { |
+ "type": "relatedElement", |
+ "value": { |
+ "type": "computedString", |
+ "value": "1 2 7" |
}, |
- { |
- "type": "attribute", |
- "attribute": "aria-label", |
- "superseded": true |
- }, |
- { |
- "type": "relatedElement", |
- "superseded": true, |
- "nativeSource": "label" |
- }, |
- { |
- "type": "placeholder", |
- "attribute": "placeholder", |
- "superseded": true |
- }, |
- { |
- "type": "attribute", |
- "attribute": "title", |
- "superseded": true |
- } |
- ] |
- }, |
- "properties": [ |
- { |
- "name": "invalid", |
- "value": { |
- "type": "token", |
- "value": "false" |
- } |
- }, |
- { |
- "name": "multiline", |
- "value": { |
- "type": "boolean", |
- "value": false |
- } |
- }, |
- { |
- "name": "readonly", |
- "value": { |
- "type": "boolean", |
- "value": false |
- } |
- }, |
- { |
- "name": "required", |
- "value": { |
- "type": "boolean", |
- "value": false |
- } |
- }, |
- { |
- "name": "labelledby", |
- "value": { |
- "type": "nodeList", |
+ "attribute": "aria-labelledby", |
+ "attributeValue": { |
+ "type": "idrefList", |
+ "value": "label2", |
"relatedNodes": [ |
{ |
"idref": "label2", |
@@ -137,131 +70,99 @@ |
} |
] |
} |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "aria-label", |
+ "superseded": true |
+ }, |
+ { |
+ "type": "relatedElement", |
+ "superseded": true, |
+ "nativeSource": "label" |
+ }, |
+ { |
+ "type": "placeholder", |
+ "attribute": "placeholder", |
+ "superseded": true |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "title", |
+ "superseded": true |
} |
] |
- } |
- ] |
+ }, |
+ "properties": [ |
+ { |
+ "name": "invalid", |
+ "value": { |
+ "type": "token", |
+ "value": "false" |
+ } |
+ }, |
+ { |
+ "name": "multiline", |
+ "value": { |
+ "type": "boolean", |
+ "value": false |
+ } |
+ }, |
+ { |
+ "name": "readonly", |
+ "value": { |
+ "type": "boolean", |
+ "value": false |
+ } |
+ }, |
+ { |
+ "name": "required", |
+ "value": { |
+ "type": "boolean", |
+ "value": false |
+ } |
+ }, |
+ { |
+ "name": "labelledby", |
+ "value": { |
+ "type": "nodeList", |
+ "relatedNodes": [ |
+ { |
+ "idref": "label2", |
+ "text": "1 2 7", |
+ "nodeResult": "div#label2" |
+ } |
+ ] |
+ } |
+ } |
+ ] |
+ } |
} |
} |
{ |
"id": "<int>", |
"result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": false, |
- "role": { |
- "type": "role", |
- "value": "textbox" |
- }, |
- "name": { |
- "type": "computedString", |
- "value": "1 2 3 4 6 7", |
- "sources": [ |
- { |
- "type": "relatedElement", |
- "value": { |
- "type": "computedString", |
- "value": "1 2 3 4 6 7" |
- }, |
- "attribute": "aria-labelledby", |
- "attributeValue": { |
- "type": "idrefList", |
- "value": "3a 3b 3c 3d 3e 3f 3g", |
- "relatedNodes": [ |
- { |
- "idref": "3a", |
- "text": "1", |
- "nodeResult": "p#3a" |
- }, |
- { |
- "idref": "3b", |
- "text": "2", |
- "nodeResult": "td#3b" |
- }, |
- { |
- "idref": "3c", |
- "text": "3", |
- "nodeResult": "td#3c" |
- }, |
- { |
- "idref": "3d", |
- "text": "4", |
- "nodeResult": "td#3d" |
- }, |
- { |
- "idref": "3e", |
- "text": "", |
- "nodeResult": "tr#3e" |
- }, |
- { |
- "idref": "3f", |
- "text": "6", |
- "nodeResult": "tr#3f" |
- }, |
- { |
- "idref": "3g", |
- "text": "7", |
- "nodeResult": "p#3g" |
- } |
- ] |
- } |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": false, |
+ "role": { |
+ "type": "role", |
+ "value": "textbox" |
+ }, |
+ "name": { |
+ "type": "computedString", |
+ "value": "1 2 3 4 6 7", |
+ "sources": [ |
+ { |
+ "type": "relatedElement", |
+ "value": { |
+ "type": "computedString", |
+ "value": "1 2 3 4 6 7" |
}, |
- { |
- "type": "attribute", |
- "attribute": "aria-label", |
- "superseded": true |
- }, |
- { |
- "type": "relatedElement", |
- "superseded": true, |
- "nativeSource": "label" |
- }, |
- { |
- "type": "placeholder", |
- "attribute": "placeholder", |
- "superseded": true |
- }, |
- { |
- "type": "attribute", |
- "attribute": "title", |
- "superseded": true |
- } |
- ] |
- }, |
- "properties": [ |
- { |
- "name": "invalid", |
- "value": { |
- "type": "token", |
- "value": "false" |
- } |
- }, |
- { |
- "name": "multiline", |
- "value": { |
- "type": "boolean", |
- "value": false |
- } |
- }, |
- { |
- "name": "readonly", |
- "value": { |
- "type": "boolean", |
- "value": false |
- } |
- }, |
- { |
- "name": "required", |
- "value": { |
- "type": "boolean", |
- "value": false |
- } |
- }, |
- { |
- "name": "labelledby", |
- "value": { |
- "type": "nodeList", |
+ "attribute": "aria-labelledby", |
+ "attributeValue": { |
+ "type": "idrefList", |
+ "value": "3a 3b 3c 3d 3e 3f 3g", |
"relatedNodes": [ |
{ |
"idref": "3a", |
@@ -300,101 +201,129 @@ |
} |
] |
} |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "aria-label", |
+ "superseded": true |
+ }, |
+ { |
+ "type": "relatedElement", |
+ "superseded": true, |
+ "nativeSource": "label" |
+ }, |
+ { |
+ "type": "placeholder", |
+ "attribute": "placeholder", |
+ "superseded": true |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "title", |
+ "superseded": true |
} |
] |
- } |
- ] |
+ }, |
+ "properties": [ |
+ { |
+ "name": "invalid", |
+ "value": { |
+ "type": "token", |
+ "value": "false" |
+ } |
+ }, |
+ { |
+ "name": "multiline", |
+ "value": { |
+ "type": "boolean", |
+ "value": false |
+ } |
+ }, |
+ { |
+ "name": "readonly", |
+ "value": { |
+ "type": "boolean", |
+ "value": false |
+ } |
+ }, |
+ { |
+ "name": "required", |
+ "value": { |
+ "type": "boolean", |
+ "value": false |
+ } |
+ }, |
+ { |
+ "name": "labelledby", |
+ "value": { |
+ "type": "nodeList", |
+ "relatedNodes": [ |
+ { |
+ "idref": "3a", |
+ "text": "1", |
+ "nodeResult": "p#3a" |
+ }, |
+ { |
+ "idref": "3b", |
+ "text": "2", |
+ "nodeResult": "td#3b" |
+ }, |
+ { |
+ "idref": "3c", |
+ "text": "3", |
+ "nodeResult": "td#3c" |
+ }, |
+ { |
+ "idref": "3d", |
+ "text": "4", |
+ "nodeResult": "td#3d" |
+ }, |
+ { |
+ "idref": "3e", |
+ "text": "", |
+ "nodeResult": "tr#3e" |
+ }, |
+ { |
+ "idref": "3f", |
+ "text": "6", |
+ "nodeResult": "tr#3f" |
+ }, |
+ { |
+ "idref": "3g", |
+ "text": "7", |
+ "nodeResult": "p#3g" |
+ } |
+ ] |
+ } |
+ } |
+ ] |
+ } |
} |
} |
{ |
"id": "<int>", |
"result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": false, |
- "role": { |
- "type": "role", |
- "value": "textbox" |
- }, |
- "name": { |
- "type": "computedString", |
- "value": "1 2 7", |
- "sources": [ |
- { |
- "type": "relatedElement", |
- "value": { |
- "type": "computedString", |
- "value": "\n 1 \n \n 2 \n \n \n \n \n \n 7 \n " |
- }, |
- "attribute": "aria-labelledby", |
- "attributeValue": { |
- "type": "idrefList", |
- "value": "label4", |
- "relatedNodes": [ |
- { |
- "idref": "label4", |
- "text": "\n 1 \n \n 2 \n \n \n \n \n \n 7 \n ", |
- "nodeResult": "div#label4" |
- } |
- ] |
- } |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": false, |
+ "role": { |
+ "type": "role", |
+ "value": "textbox" |
+ }, |
+ "name": { |
+ "type": "computedString", |
+ "value": "1 2 7", |
+ "sources": [ |
+ { |
+ "type": "relatedElement", |
+ "value": { |
+ "type": "computedString", |
+ "value": "\n 1 \n \n 2 \n \n \n \n \n \n 7 \n " |
}, |
- { |
- "type": "attribute", |
- "attribute": "aria-label", |
- "superseded": true |
- }, |
- { |
- "type": "relatedElement", |
- "superseded": true, |
- "nativeSource": "label" |
- }, |
- { |
- "type": "placeholder", |
- "attribute": "placeholder", |
- "superseded": true |
- }, |
- { |
- "type": "attribute", |
- "attribute": "title", |
- "superseded": true |
- } |
- ] |
- }, |
- "properties": [ |
- { |
- "name": "invalid", |
- "value": { |
- "type": "token", |
- "value": "false" |
- } |
- }, |
- { |
- "name": "multiline", |
- "value": { |
- "type": "boolean", |
- "value": false |
- } |
- }, |
- { |
- "name": "readonly", |
- "value": { |
- "type": "boolean", |
- "value": false |
- } |
- }, |
- { |
- "name": "required", |
- "value": { |
- "type": "boolean", |
- "value": false |
- } |
- }, |
- { |
- "name": "labelledby", |
- "value": { |
- "type": "nodeList", |
+ "attribute": "aria-labelledby", |
+ "attributeValue": { |
+ "type": "idrefList", |
+ "value": "label4", |
"relatedNodes": [ |
{ |
"idref": "label4", |
@@ -403,79 +332,99 @@ |
} |
] |
} |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "aria-label", |
+ "superseded": true |
+ }, |
+ { |
+ "type": "relatedElement", |
+ "superseded": true, |
+ "nativeSource": "label" |
+ }, |
+ { |
+ "type": "placeholder", |
+ "attribute": "placeholder", |
+ "superseded": true |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "title", |
+ "superseded": true |
} |
] |
- } |
- ] |
+ }, |
+ "properties": [ |
+ { |
+ "name": "invalid", |
+ "value": { |
+ "type": "token", |
+ "value": "false" |
+ } |
+ }, |
+ { |
+ "name": "multiline", |
+ "value": { |
+ "type": "boolean", |
+ "value": false |
+ } |
+ }, |
+ { |
+ "name": "readonly", |
+ "value": { |
+ "type": "boolean", |
+ "value": false |
+ } |
+ }, |
+ { |
+ "name": "required", |
+ "value": { |
+ "type": "boolean", |
+ "value": false |
+ } |
+ }, |
+ { |
+ "name": "labelledby", |
+ "value": { |
+ "type": "nodeList", |
+ "relatedNodes": [ |
+ { |
+ "idref": "label4", |
+ "text": "\n 1 \n \n 2 \n \n \n \n \n \n 7 \n ", |
+ "nodeResult": "div#label4" |
+ } |
+ ] |
+ } |
+ } |
+ ] |
+ } |
} |
} |
{ |
"id": "<int>", |
"result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": false, |
- "role": { |
- "type": "role", |
- "value": "button" |
- }, |
- "name": { |
- "type": "computedString", |
- "value": "Hidden text", |
- "sources": [ |
- { |
- "type": "relatedElement", |
- "value": { |
- "type": "computedString", |
- "value": "Hidden text" |
- }, |
- "attribute": "aria-labelledby", |
- "attributeValue": { |
- "type": "idrefList", |
- "value": "hidden1", |
- "relatedNodes": [ |
- { |
- "idref": "hidden1", |
- "text": "Hidden text", |
- "nodeResult": "p#hidden1" |
- } |
- ] |
- } |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": false, |
+ "role": { |
+ "type": "role", |
+ "value": "button" |
+ }, |
+ "name": { |
+ "type": "computedString", |
+ "value": "Hidden text", |
+ "sources": [ |
+ { |
+ "type": "relatedElement", |
+ "value": { |
+ "type": "computedString", |
+ "value": "Hidden text" |
}, |
- { |
- "type": "attribute", |
- "attribute": "aria-label", |
- "superseded": true |
- }, |
- { |
- "type": "relatedElement", |
- "superseded": true, |
- "nativeSource": "label" |
- }, |
- { |
- "type": "contents", |
- "superseded": true |
- }, |
- { |
- "type": "attribute", |
- "attribute": "title", |
- "superseded": true |
- } |
- ] |
- }, |
- "properties": [ |
- { |
- "name": "invalid", |
- "value": { |
- "type": "token", |
- "value": "false" |
- } |
- }, |
- { |
- "name": "labelledby", |
- "value": { |
- "type": "nodeList", |
+ "attribute": "aria-labelledby", |
+ "attributeValue": { |
+ "type": "idrefList", |
+ "value": "hidden1", |
"relatedNodes": [ |
{ |
"idref": "hidden1", |
@@ -484,79 +433,77 @@ |
} |
] |
} |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "aria-label", |
+ "superseded": true |
+ }, |
+ { |
+ "type": "relatedElement", |
+ "superseded": true, |
+ "nativeSource": "label" |
+ }, |
+ { |
+ "type": "contents", |
+ "superseded": true |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "title", |
+ "superseded": true |
} |
] |
- } |
- ] |
+ }, |
+ "properties": [ |
+ { |
+ "name": "invalid", |
+ "value": { |
+ "type": "token", |
+ "value": "false" |
+ } |
+ }, |
+ { |
+ "name": "labelledby", |
+ "value": { |
+ "type": "nodeList", |
+ "relatedNodes": [ |
+ { |
+ "idref": "hidden1", |
+ "text": "Hidden text", |
+ "nodeResult": "p#hidden1" |
+ } |
+ ] |
+ } |
+ } |
+ ] |
+ } |
} |
} |
{ |
"id": "<int>", |
"result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": false, |
- "role": { |
- "type": "role", |
- "value": "button" |
- }, |
- "name": { |
- "type": "computedString", |
- "value": "Before After", |
- "sources": [ |
- { |
- "type": "relatedElement", |
- "value": { |
- "type": "computedString", |
- "value": "Before After" |
- }, |
- "attribute": "aria-labelledby", |
- "attributeValue": { |
- "type": "idrefList", |
- "value": "heading2", |
- "relatedNodes": [ |
- { |
- "idref": "heading2", |
- "text": "Before After", |
- "nodeResult": "h3#heading2" |
- } |
- ] |
- } |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": false, |
+ "role": { |
+ "type": "role", |
+ "value": "button" |
+ }, |
+ "name": { |
+ "type": "computedString", |
+ "value": "Before After", |
+ "sources": [ |
+ { |
+ "type": "relatedElement", |
+ "value": { |
+ "type": "computedString", |
+ "value": "Before After" |
}, |
- { |
- "type": "attribute", |
- "attribute": "aria-label", |
- "superseded": true |
- }, |
- { |
- "type": "relatedElement", |
- "superseded": true, |
- "nativeSource": "label" |
- }, |
- { |
- "type": "contents", |
- "superseded": true |
- }, |
- { |
- "type": "attribute", |
- "attribute": "title", |
- "superseded": true |
- } |
- ] |
- }, |
- "properties": [ |
- { |
- "name": "invalid", |
- "value": { |
- "type": "token", |
- "value": "false" |
- } |
- }, |
- { |
- "name": "labelledby", |
- "value": { |
- "type": "nodeList", |
+ "attribute": "aria-labelledby", |
+ "attributeValue": { |
+ "type": "idrefList", |
+ "value": "heading2", |
"relatedNodes": [ |
{ |
"idref": "heading2", |
@@ -565,79 +512,77 @@ |
} |
] |
} |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "aria-label", |
+ "superseded": true |
+ }, |
+ { |
+ "type": "relatedElement", |
+ "superseded": true, |
+ "nativeSource": "label" |
+ }, |
+ { |
+ "type": "contents", |
+ "superseded": true |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "title", |
+ "superseded": true |
} |
] |
- } |
- ] |
+ }, |
+ "properties": [ |
+ { |
+ "name": "invalid", |
+ "value": { |
+ "type": "token", |
+ "value": "false" |
+ } |
+ }, |
+ { |
+ "name": "labelledby", |
+ "value": { |
+ "type": "nodeList", |
+ "relatedNodes": [ |
+ { |
+ "idref": "heading2", |
+ "text": "Before After", |
+ "nodeResult": "h3#heading2" |
+ } |
+ ] |
+ } |
+ } |
+ ] |
+ } |
} |
} |
{ |
"id": "<int>", |
"result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": false, |
- "role": { |
- "type": "role", |
- "value": "button" |
- }, |
- "name": { |
- "type": "computedString", |
- "value": "Text within hidden subtree", |
- "sources": [ |
- { |
- "type": "relatedElement", |
- "value": { |
- "type": "computedString", |
- "value": "Text within hidden subtree" |
- }, |
- "attribute": "aria-labelledby", |
- "attributeValue": { |
- "type": "idrefList", |
- "value": "hidden3", |
- "relatedNodes": [ |
- { |
- "idref": "hidden3", |
- "text": "Text within hidden subtree", |
- "nodeResult": "p#hidden3" |
- } |
- ] |
- } |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": false, |
+ "role": { |
+ "type": "role", |
+ "value": "button" |
+ }, |
+ "name": { |
+ "type": "computedString", |
+ "value": "Text within hidden subtree", |
+ "sources": [ |
+ { |
+ "type": "relatedElement", |
+ "value": { |
+ "type": "computedString", |
+ "value": "Text within hidden subtree" |
}, |
- { |
- "type": "attribute", |
- "attribute": "aria-label", |
- "superseded": true |
- }, |
- { |
- "type": "relatedElement", |
- "superseded": true, |
- "nativeSource": "label" |
- }, |
- { |
- "type": "contents", |
- "superseded": true |
- }, |
- { |
- "type": "attribute", |
- "attribute": "title", |
- "superseded": true |
- } |
- ] |
- }, |
- "properties": [ |
- { |
- "name": "invalid", |
- "value": { |
- "type": "token", |
- "value": "false" |
- } |
- }, |
- { |
- "name": "labelledby", |
- "value": { |
- "type": "nodeList", |
+ "attribute": "aria-labelledby", |
+ "attributeValue": { |
+ "type": "idrefList", |
+ "value": "hidden3", |
"relatedNodes": [ |
{ |
"idref": "hidden3", |
@@ -646,79 +591,77 @@ |
} |
] |
} |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "aria-label", |
+ "superseded": true |
+ }, |
+ { |
+ "type": "relatedElement", |
+ "superseded": true, |
+ "nativeSource": "label" |
+ }, |
+ { |
+ "type": "contents", |
+ "superseded": true |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "title", |
+ "superseded": true |
} |
] |
- } |
- ] |
+ }, |
+ "properties": [ |
+ { |
+ "name": "invalid", |
+ "value": { |
+ "type": "token", |
+ "value": "false" |
+ } |
+ }, |
+ { |
+ "name": "labelledby", |
+ "value": { |
+ "type": "nodeList", |
+ "relatedNodes": [ |
+ { |
+ "idref": "hidden3", |
+ "text": "Text within hidden subtree", |
+ "nodeResult": "p#hidden3" |
+ } |
+ ] |
+ } |
+ } |
+ ] |
+ } |
} |
} |
{ |
"id": "<int>", |
"result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": false, |
- "role": { |
- "type": "role", |
- "value": "button" |
- }, |
- "name": { |
- "type": "computedString", |
- "value": "Before After", |
- "sources": [ |
- { |
- "type": "relatedElement", |
- "value": { |
- "type": "computedString", |
- "value": "Before After" |
- }, |
- "attribute": "aria-labelledby", |
- "attributeValue": { |
- "type": "idrefList", |
- "value": "heading4", |
- "relatedNodes": [ |
- { |
- "idref": "heading4", |
- "text": "Before After", |
- "nodeResult": "h3#heading4" |
- } |
- ] |
- } |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": false, |
+ "role": { |
+ "type": "role", |
+ "value": "button" |
+ }, |
+ "name": { |
+ "type": "computedString", |
+ "value": "Before After", |
+ "sources": [ |
+ { |
+ "type": "relatedElement", |
+ "value": { |
+ "type": "computedString", |
+ "value": "Before After" |
}, |
- { |
- "type": "attribute", |
- "attribute": "aria-label", |
- "superseded": true |
- }, |
- { |
- "type": "relatedElement", |
- "superseded": true, |
- "nativeSource": "label" |
- }, |
- { |
- "type": "contents", |
- "superseded": true |
- }, |
- { |
- "type": "attribute", |
- "attribute": "title", |
- "superseded": true |
- } |
- ] |
- }, |
- "properties": [ |
- { |
- "name": "invalid", |
- "value": { |
- "type": "token", |
- "value": "false" |
- } |
- }, |
- { |
- "name": "labelledby", |
- "value": { |
- "type": "nodeList", |
+ "attribute": "aria-labelledby", |
+ "attributeValue": { |
+ "type": "idrefList", |
+ "value": "heading4", |
"relatedNodes": [ |
{ |
"idref": "heading4", |
@@ -727,108 +670,147 @@ |
} |
] |
} |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "aria-label", |
+ "superseded": true |
+ }, |
+ { |
+ "type": "relatedElement", |
+ "superseded": true, |
+ "nativeSource": "label" |
+ }, |
+ { |
+ "type": "contents", |
+ "superseded": true |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "title", |
+ "superseded": true |
} |
] |
- } |
- ] |
+ }, |
+ "properties": [ |
+ { |
+ "name": "invalid", |
+ "value": { |
+ "type": "token", |
+ "value": "false" |
+ } |
+ }, |
+ { |
+ "name": "labelledby", |
+ "value": { |
+ "type": "nodeList", |
+ "relatedNodes": [ |
+ { |
+ "idref": "heading4", |
+ "text": "Before After", |
+ "nodeResult": "h3#heading4" |
+ } |
+ ] |
+ } |
+ } |
+ ] |
+ } |
} |
} |
{ |
"id": "<int>", |
"result": { |
- "nodes": [ |
- { |
- "nodeId": "<string>", |
- "ignored": false, |
- "role": { |
- "type": "role", |
- "value": "textbox" |
- }, |
- "name": { |
- "type": "computedString", |
- "value": "Before After", |
- "sources": [ |
- { |
- "type": "relatedElement", |
- "attribute": "aria-labelledby" |
+ "accessibilityNode": { |
+ "nodeId": "<string>", |
+ "ignored": false, |
+ "role": { |
+ "type": "role", |
+ "value": "textbox" |
+ }, |
+ "name": { |
+ "type": "computedString", |
+ "value": "Before After", |
+ "sources": [ |
+ { |
+ "type": "relatedElement", |
+ "attribute": "aria-labelledby" |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "aria-label" |
+ }, |
+ { |
+ "type": "relatedElement", |
+ "value": { |
+ "type": "computedString", |
+ "value": "Before After" |
}, |
- { |
- "type": "attribute", |
- "attribute": "aria-label" |
- }, |
- { |
- "type": "relatedElement", |
- "value": { |
- "type": "computedString", |
- "value": "Before After" |
- }, |
- "nativeSource": "labelfor", |
- "nativeSourceValue": { |
- "type": "nodeList", |
- "relatedNodes": [ |
- { |
- "backendNodeId": "<string>", |
- "text": "Before After" |
- } |
- ] |
- } |
- }, |
- { |
- "type": "placeholder", |
- "attribute": "placeholder", |
- "superseded": true |
- }, |
- { |
- "type": "attribute", |
- "attribute": "title", |
- "superseded": true |
- } |
- ] |
- }, |
- "properties": [ |
- { |
- "name": "invalid", |
- "value": { |
- "type": "token", |
- "value": "false" |
- } |
- }, |
- { |
- "name": "multiline", |
- "value": { |
- "type": "boolean", |
- "value": false |
- } |
- }, |
- { |
- "name": "readonly", |
- "value": { |
- "type": "boolean", |
- "value": false |
- } |
- }, |
- { |
- "name": "required", |
- "value": { |
- "type": "boolean", |
- "value": false |
- } |
- }, |
- { |
- "name": "labelledby", |
- "value": { |
+ "nativeSource": "labelfor", |
+ "nativeSourceValue": { |
"type": "nodeList", |
"relatedNodes": [ |
{ |
- "text": "Before After", |
- "nodeResult": "label" |
+ "backendNodeId": "<string>", |
+ "text": "Before After" |
} |
] |
} |
+ }, |
+ { |
+ "type": "placeholder", |
+ "attribute": "placeholder", |
+ "superseded": true |
+ }, |
+ { |
+ "type": "attribute", |
+ "attribute": "title", |
+ "superseded": true |
} |
] |
- } |
- ] |
+ }, |
+ "properties": [ |
+ { |
+ "name": "invalid", |
+ "value": { |
+ "type": "token", |
+ "value": "false" |
+ } |
+ }, |
+ { |
+ "name": "multiline", |
+ "value": { |
+ "type": "boolean", |
+ "value": false |
+ } |
+ }, |
+ { |
+ "name": "readonly", |
+ "value": { |
+ "type": "boolean", |
+ "value": false |
+ } |
+ }, |
+ { |
+ "name": "required", |
+ "value": { |
+ "type": "boolean", |
+ "value": false |
+ } |
+ }, |
+ { |
+ "name": "labelledby", |
+ "value": { |
+ "type": "nodeList", |
+ "relatedNodes": [ |
+ { |
+ "text": "Before After", |
+ "nodeResult": "label" |
+ } |
+ ] |
+ } |
+ } |
+ ] |
+ } |
} |
} |