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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-labelledby-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-nameSources-labelledby-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-labelledby-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-labelledby-expected.txt
index 2f36b44cdf0eadd8de611ffd310e3cc0e221ec4d..e6387e9141c1b94df7ee5aeffbdd8ca1634b4b02 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-labelledby-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-labelledby-expected.txt
@@ -1,111 +1,162 @@
{
"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": "button"
- },
- "name": {
- "type": "computedString",
- "value": "Contents of button",
- "sources": [
- {
- "type": "relatedElement",
- "attribute": "aria-labelledby"
- },
- {
- "type": "attribute",
- "attribute": "aria-label"
- },
- {
- "type": "relatedElement",
- "nativeSource": "label"
- },
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "Contents of button",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby"
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "relatedElement",
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "Contents of button"
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "contents",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "Contents of button"
+ "type": "token",
+ "value": "false"
}
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
}
]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- }
- ]
- }
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "button"
- },
- "name": {
- "type": "computedString",
- "value": "Label 1",
- "sources": [
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "Label 1",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "value": {
+ "type": "computedString",
+ "value": "Label 1"
+ },
+ "attribute": "aria-labelledby",
+ "attributeValue": {
+ "type": "idrefList",
+ "value": "label1",
+ "relatedNodes": [
+ {
+ "idref": "label1",
+ "text": "Label 1",
+ "nodeResult": "div#label1"
+ }
+ ]
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label",
+ "superseded": true
+ },
+ {
+ "type": "relatedElement",
+ "superseded": true,
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "Contents"
+ },
+ "superseded": true
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "relatedElement",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "Label 1"
- },
- "attribute": "aria-labelledby",
- "attributeValue": {
- "type": "idrefList",
- "value": "label1",
+ "type": "token",
+ "value": "false"
+ }
+ },
+ {
+ "name": "labelledby",
+ "value": {
+ "type": "nodeList",
"relatedNodes": [
{
"idref": "label1",
@@ -114,81 +165,83 @@
}
]
}
- },
- {
- "type": "attribute",
- "attribute": "aria-label",
- "superseded": true
- },
- {
- "type": "relatedElement",
- "superseded": true,
- "nativeSource": "label"
- },
- {
- "type": "contents",
- "value": {
- "type": "computedString",
- "value": "Contents"
- },
- "superseded": true
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
}
]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- },
- {
- "name": "labelledby",
- "value": {
- "type": "nodeList",
- "relatedNodes": [
- {
- "idref": "label1",
- "text": "Label 1",
- "nodeResult": "div#label1"
- }
- ]
- }
- }
- ]
- }
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "button"
- },
- "name": {
- "type": "computedString",
- "value": "Contents",
- "sources": [
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "Contents",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "value": {
+ "type": "computedString",
+ "value": "Contents"
+ },
+ "attribute": "aria-labelledby",
+ "attributeValue": {
+ "type": "idrefList",
+ "value": "labelledbySelf",
+ "relatedNodes": [
+ {
+ "idref": "labelledbySelf",
+ "text": "Contents",
+ "nodeResult": "button#labelledbySelf"
+ }
+ ]
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label",
+ "superseded": true
+ },
+ {
+ "type": "relatedElement",
+ "superseded": true,
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "Contents"
+ },
+ "superseded": true
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "relatedElement",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "Contents"
- },
- "attribute": "aria-labelledby",
- "attributeValue": {
- "type": "idrefList",
- "value": "labelledbySelf",
+ "type": "token",
+ "value": "false"
+ }
+ },
+ {
+ "name": "labelledby",
+ "value": {
+ "type": "nodeList",
"relatedNodes": [
{
"idref": "labelledbySelf",
@@ -197,81 +250,88 @@
}
]
}
- },
- {
- "type": "attribute",
- "attribute": "aria-label",
- "superseded": true
- },
- {
- "type": "relatedElement",
- "superseded": true,
- "nativeSource": "label"
- },
- {
- "type": "contents",
- "value": {
- "type": "computedString",
- "value": "Contents"
- },
- "superseded": true
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
}
]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- },
- {
- "name": "labelledby",
- "value": {
- "type": "nodeList",
- "relatedNodes": [
- {
- "idref": "labelledbySelf",
- "text": "Contents",
- "nodeResult": "button#labelledbySelf"
- }
- ]
- }
- }
- ]
- }
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "button"
- },
- "name": {
- "type": "computedString",
- "value": "Contents Label 3",
- "sources": [
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "Contents Label 3",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "value": {
+ "type": "computedString",
+ "value": "Contents Label 3"
+ },
+ "attribute": "aria-labelledby",
+ "attributeValue": {
+ "type": "idrefList",
+ "value": "labelledby3 label3",
+ "relatedNodes": [
+ {
+ "idref": "labelledby3",
+ "text": "Contents",
+ "nodeResult": "button#labelledby3"
+ },
+ {
+ "idref": "label3",
+ "text": "Label 3",
+ "nodeResult": "div#label3"
+ }
+ ]
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label",
+ "superseded": true
+ },
+ {
+ "type": "relatedElement",
+ "superseded": true,
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "Contents"
+ },
+ "superseded": true
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "relatedElement",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "Contents Label 3"
- },
- "attribute": "aria-labelledby",
- "attributeValue": {
- "type": "idrefList",
- "value": "labelledby3 label3",
+ "type": "token",
+ "value": "false"
+ }
+ },
+ {
+ "name": "labelledby",
+ "value": {
+ "type": "nodeList",
"relatedNodes": [
{
"idref": "labelledby3",
@@ -285,86 +345,83 @@
}
]
}
- },
- {
- "type": "attribute",
- "attribute": "aria-label",
- "superseded": true
- },
- {
- "type": "relatedElement",
- "superseded": true,
- "nativeSource": "label"
- },
- {
- "type": "contents",
- "value": {
- "type": "computedString",
- "value": "Contents"
- },
- "superseded": true
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
}
]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- },
- {
- "name": "labelledby",
- "value": {
- "type": "nodeList",
- "relatedNodes": [
- {
- "idref": "labelledby3",
- "text": "Contents",
- "nodeResult": "button#labelledby3"
- },
- {
- "idref": "label3",
- "text": "Label 3",
- "nodeResult": "div#label3"
- }
- ]
- }
- }
- ]
- }
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "button"
- },
- "name": {
- "type": "computedString",
- "value": "Contents 4",
- "sources": [
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "Contents 4",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "value": {
+ "type": "computedString",
+ "value": "Contents 4"
+ },
+ "attribute": "aria-labelledby",
+ "attributeValue": {
+ "type": "idrefList",
+ "value": "label4",
+ "relatedNodes": [
+ {
+ "idref": "label4",
+ "text": "Contents 4",
+ "nodeResult": "div#label4"
+ }
+ ]
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label",
+ "superseded": true
+ },
+ {
+ "type": "relatedElement",
+ "superseded": true,
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "Contents"
+ },
+ "superseded": true
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "relatedElement",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "Contents 4"
- },
- "attribute": "aria-labelledby",
- "attributeValue": {
- "type": "idrefList",
- "value": "label4",
+ "type": "token",
+ "value": "false"
+ }
+ },
+ {
+ "name": "labelledby",
+ "value": {
+ "type": "nodeList",
"relatedNodes": [
{
"idref": "label4",
@@ -373,138 +430,142 @@
}
]
}
- },
- {
- "type": "attribute",
- "attribute": "aria-label",
- "superseded": true
- },
- {
- "type": "relatedElement",
- "superseded": true,
- "nativeSource": "label"
- },
- {
- "type": "contents",
- "value": {
- "type": "computedString",
- "value": "Contents"
- },
- "superseded": true
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
}
]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- },
- {
- "name": "labelledby",
- "value": {
- "type": "nodeList",
- "relatedNodes": [
- {
- "idref": "label4",
- "text": "Contents 4",
- "nodeResult": "div#label4"
- }
- ]
- }
- }
- ]
- }
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "button"
- },
- "name": {
- "type": "computedString",
- "value": "Contents",
- "sources": [
- {
- "type": "relatedElement",
- "attribute": "aria-labelledby",
- "attributeValue": {
- "type": "string",
- "value": "label5"
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "Contents",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby",
+ "attributeValue": {
+ "type": "string",
+ "value": "label5"
+ },
+ "invalid": true
},
- "invalid": true
- },
- {
- "type": "attribute",
- "attribute": "aria-label"
- },
- {
- "type": "relatedElement",
- "nativeSource": "label"
- },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "relatedElement",
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "Contents"
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "contents",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "Contents"
+ "type": "token",
+ "value": "false"
}
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
}
]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- }
- ]
- }
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "button"
- },
- "name": {
- "type": "computedString",
- "value": "",
- "sources": [
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "value": {
+ "type": "computedString",
+ "value": ""
+ },
+ "attribute": "aria-labelledby",
+ "attributeValue": {
+ "type": "idrefList",
+ "value": "label6",
+ "relatedNodes": [
+ {
+ "idref": "label6",
+ "text": "",
+ "nodeResult": "div#label6"
+ }
+ ]
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label",
+ "superseded": true
+ },
+ {
+ "type": "relatedElement",
+ "superseded": true,
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "Contents"
+ },
+ "superseded": true
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "relatedElement",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": ""
- },
- "attribute": "aria-labelledby",
- "attributeValue": {
- "type": "idrefList",
- "value": "label6",
+ "type": "token",
+ "value": "false"
+ }
+ },
+ {
+ "name": "labelledby",
+ "value": {
+ "type": "nodeList",
"relatedNodes": [
{
"idref": "label6",
@@ -513,81 +574,83 @@
}
]
}
- },
- {
- "type": "attribute",
- "attribute": "aria-label",
- "superseded": true
- },
- {
- "type": "relatedElement",
- "superseded": true,
- "nativeSource": "label"
- },
- {
- "type": "contents",
- "value": {
- "type": "computedString",
- "value": "Contents"
- },
- "superseded": true
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
}
]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- },
- {
- "name": "labelledby",
- "value": {
- "type": "nodeList",
- "relatedNodes": [
- {
- "idref": "label6",
- "text": "",
- "nodeResult": "div#label6"
- }
- ]
- }
- }
- ]
- }
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "button"
- },
- "name": {
- "type": "computedString",
- "value": "Invisible label",
- "sources": [
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "Invisible label",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "value": {
+ "type": "computedString",
+ "value": "Invisible label"
+ },
+ "attribute": "aria-labelledby",
+ "attributeValue": {
+ "type": "idrefList",
+ "value": "label7",
+ "relatedNodes": [
+ {
+ "idref": "label7",
+ "text": "Invisible label",
+ "nodeResult": "h3#label7"
+ }
+ ]
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label",
+ "superseded": true
+ },
+ {
+ "type": "relatedElement",
+ "superseded": true,
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "Contents"
+ },
+ "superseded": true
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "relatedElement",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "Invisible label"
- },
- "attribute": "aria-labelledby",
- "attributeValue": {
- "type": "idrefList",
- "value": "label7",
+ "type": "token",
+ "value": "false"
+ }
+ },
+ {
+ "name": "labelledby",
+ "value": {
+ "type": "nodeList",
"relatedNodes": [
{
"idref": "label7",
@@ -596,81 +659,83 @@
}
]
}
- },
- {
- "type": "attribute",
- "attribute": "aria-label",
- "superseded": true
- },
- {
- "type": "relatedElement",
- "superseded": true,
- "nativeSource": "label"
- },
- {
- "type": "contents",
- "value": {
- "type": "computedString",
- "value": "Contents"
- },
- "superseded": true
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
}
]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- },
- {
- "name": "labelledby",
- "value": {
- "type": "nodeList",
- "relatedNodes": [
- {
- "idref": "label7",
- "text": "Invisible label",
- "nodeResult": "h3#label7"
- }
- ]
- }
- }
- ]
- }
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "button"
- },
- "name": {
- "type": "computedString",
- "value": "Display-none label",
- "sources": [
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "Display-none label",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "value": {
+ "type": "computedString",
+ "value": "Display-none label"
+ },
+ "attribute": "aria-labelledby",
+ "attributeValue": {
+ "type": "idrefList",
+ "value": "label8",
+ "relatedNodes": [
+ {
+ "idref": "label8",
+ "text": "Display-none label",
+ "nodeResult": "h3#label8"
+ }
+ ]
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label",
+ "superseded": true
+ },
+ {
+ "type": "relatedElement",
+ "superseded": true,
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "Contents"
+ },
+ "superseded": true
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "relatedElement",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "Display-none label"
- },
- "attribute": "aria-labelledby",
- "attributeValue": {
- "type": "idrefList",
- "value": "label8",
+ "type": "token",
+ "value": "false"
+ }
+ },
+ {
+ "name": "labelledby",
+ "value": {
+ "type": "nodeList",
"relatedNodes": [
{
"idref": "label8",
@@ -679,247 +744,263 @@
}
]
}
- },
- {
- "type": "attribute",
- "attribute": "aria-label",
- "superseded": true
- },
- {
- "type": "relatedElement",
- "superseded": true,
- "nativeSource": "label"
- },
- {
- "type": "contents",
- "value": {
- "type": "computedString",
- "value": "Contents"
- },
- "superseded": true
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
}
]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- },
- {
- "name": "labelledby",
- "value": {
- "type": "nodeList",
- "relatedNodes": [
- {
- "idref": "label8",
- "text": "Display-none label",
- "nodeResult": "h3#label8"
- }
- ]
- }
- }
- ]
- }
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "button"
- },
- "name": {
- "type": "computedString",
- "value": "Label",
- "sources": [
- {
- "type": "relatedElement",
- "attribute": "aria-labelledby"
- },
- {
- "type": "attribute",
- "value": {
- "type": "computedString",
- "value": "Label"
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "Label",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby"
},
- "attribute": "aria-label",
- "attributeValue": {
- "type": "string",
- "value": "Label"
+ {
+ "type": "attribute",
+ "value": {
+ "type": "computedString",
+ "value": "Label"
+ },
+ "attribute": "aria-label",
+ "attributeValue": {
+ "type": "string",
+ "value": "Label"
+ }
+ },
+ {
+ "type": "relatedElement",
+ "superseded": true,
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "Contents"
+ },
+ "superseded": true
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
}
- },
- {
- "type": "relatedElement",
- "superseded": true,
- "nativeSource": "label"
- },
+ ]
+ },
+ "properties": [
{
- "type": "contents",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "Contents"
- },
- "superseded": true
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
+ "type": "token",
+ "value": "false"
+ }
}
]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- }
- ]
- }
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "button"
- },
- "name": {
- "type": "computedString",
- "value": "Contents",
- "sources": [
- {
- "type": "relatedElement",
- "attribute": "aria-labelledby"
- },
- {
- "type": "attribute",
- "attribute": "aria-label"
- },
- {
- "type": "relatedElement",
- "nativeSource": "label"
- },
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "Contents",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby"
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "relatedElement",
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "Contents"
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "contents",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "Contents"
+ "type": "token",
+ "value": "false"
}
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
}
]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- }
- ]
- }
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "button"
- },
- "name": {
- "type": "computedString",
- "value": "Contents",
- "sources": [
- {
- "type": "relatedElement",
- "attribute": "aria-labelledby"
- },
- {
- "type": "attribute",
- "attribute": "aria-label"
- },
- {
- "type": "relatedElement",
- "nativeSource": "label"
- },
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "Contents",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby"
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "relatedElement",
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "Contents"
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "contents",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "Contents"
+ "type": "token",
+ "value": "false"
}
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
}
]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- }
- ]
- }
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "button"
- },
- "name": {
- "type": "computedString",
- "value": "Labelledby 9",
- "sources": [
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "Labelledby 9",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "value": {
+ "type": "computedString",
+ "value": "Labelledby 9"
+ },
+ "attribute": "aria-labelledby",
+ "attributeValue": {
+ "type": "idrefList",
+ "value": "label9",
+ "relatedNodes": [
+ {
+ "idref": "label9",
+ "text": "Labelledby 9",
+ "nodeResult": "div#label9"
+ }
+ ]
+ }
+ },
+ {
+ "type": "attribute",
+ "value": {
+ "type": "computedString",
+ "value": "Label"
+ },
+ "attribute": "aria-label",
+ "attributeValue": {
+ "type": "string",
+ "value": "Label"
+ },
+ "superseded": true
+ },
+ {
+ "type": "relatedElement",
+ "superseded": true,
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "Contents"
+ },
+ "superseded": true
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "relatedElement",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "Labelledby 9"
- },
- "attribute": "aria-labelledby",
- "attributeValue": {
- "type": "idrefList",
- "value": "label9",
+ "type": "token",
+ "value": "false"
+ }
+ },
+ {
+ "name": "labelledby",
+ "value": {
+ "type": "nodeList",
"relatedNodes": [
{
"idref": "label9",
@@ -928,89 +1009,83 @@
}
]
}
- },
- {
- "type": "attribute",
- "value": {
- "type": "computedString",
- "value": "Label"
- },
- "attribute": "aria-label",
- "attributeValue": {
- "type": "string",
- "value": "Label"
- },
- "superseded": true
- },
- {
- "type": "relatedElement",
- "superseded": true,
- "nativeSource": "label"
- },
- {
- "type": "contents",
- "value": {
- "type": "computedString",
- "value": "Contents"
- },
- "superseded": true
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
}
]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- },
- {
- "name": "labelledby",
- "value": {
- "type": "nodeList",
- "relatedNodes": [
- {
- "idref": "label9",
- "text": "Labelledby 9",
- "nodeResult": "div#label9"
- }
- ]
- }
- }
- ]
- }
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "button"
- },
- "name": {
- "type": "computedString",
- "value": "Label 10 label",
- "sources": [
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "Label 10 label",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "value": {
+ "type": "computedString",
+ "value": "Label 10 label"
+ },
+ "attribute": "aria-labelledby",
+ "attributeValue": {
+ "type": "idrefList",
+ "value": "label10",
+ "relatedNodes": [
+ {
+ "idref": "label10",
+ "text": "Label 10 label",
+ "nodeResult": "div#label10"
+ }
+ ]
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label",
+ "superseded": true
+ },
+ {
+ "type": "relatedElement",
+ "superseded": true,
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "Contents"
+ },
+ "superseded": true
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "relatedElement",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "Label 10 label"
- },
- "attribute": "aria-labelledby",
- "attributeValue": {
- "type": "idrefList",
- "value": "label10",
+ "type": "token",
+ "value": "false"
+ }
+ },
+ {
+ "name": "labelledby",
+ "value": {
+ "type": "nodeList",
"relatedNodes": [
{
"idref": "label10",
@@ -1019,81 +1094,83 @@
}
]
}
- },
- {
- "type": "attribute",
- "attribute": "aria-label",
- "superseded": true
- },
- {
- "type": "relatedElement",
- "superseded": true,
- "nativeSource": "label"
- },
- {
- "type": "contents",
- "value": {
- "type": "computedString",
- "value": "Contents"
- },
- "superseded": true
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
}
]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- },
- {
- "name": "labelledby",
- "value": {
- "type": "nodeList",
- "relatedNodes": [
- {
- "idref": "label10",
- "text": "Label 10 label",
- "nodeResult": "div#label10"
- }
- ]
- }
- }
- ]
- }
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "button"
- },
- "name": {
- "type": "computedString",
- "value": "Contents 11",
- "sources": [
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "Contents 11",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "value": {
+ "type": "computedString",
+ "value": "Contents 11"
+ },
+ "attribute": "aria-labelledby",
+ "attributeValue": {
+ "type": "idrefList",
+ "value": "label11",
+ "relatedNodes": [
+ {
+ "idref": "label11",
+ "text": "Contents 11",
+ "nodeResult": "div#label11"
+ }
+ ]
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label",
+ "superseded": true
+ },
+ {
+ "type": "relatedElement",
+ "superseded": true,
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "Contents"
+ },
+ "superseded": true
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "relatedElement",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "Contents 11"
- },
- "attribute": "aria-labelledby",
- "attributeValue": {
- "type": "idrefList",
- "value": "label11",
+ "type": "token",
+ "value": "false"
+ }
+ },
+ {
+ "name": "labelledby",
+ "value": {
+ "type": "nodeList",
"relatedNodes": [
{
"idref": "label11",
@@ -1102,81 +1179,83 @@
}
]
}
- },
- {
- "type": "attribute",
- "attribute": "aria-label",
- "superseded": true
- },
- {
- "type": "relatedElement",
- "superseded": true,
- "nativeSource": "label"
- },
- {
- "type": "contents",
- "value": {
- "type": "computedString",
- "value": "Contents"
- },
- "superseded": true
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
}
]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- },
- {
- "name": "labelledby",
- "value": {
- "type": "nodeList",
- "relatedNodes": [
- {
- "idref": "label11",
- "text": "Contents 11",
- "nodeResult": "div#label11"
- }
- ]
- }
- }
- ]
- }
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "button"
- },
- "name": {
- "type": "computedString",
- "value": "Label 12 label",
- "sources": [
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "Label 12 label",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "value": {
+ "type": "computedString",
+ "value": "Label 12 label"
+ },
+ "attribute": "aria-labelledby",
+ "attributeValue": {
+ "type": "idrefList",
+ "value": "label12",
+ "relatedNodes": [
+ {
+ "idref": "label12",
+ "text": "Label 12 label",
+ "nodeResult": "div#label12"
+ }
+ ]
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label",
+ "superseded": true
+ },
+ {
+ "type": "relatedElement",
+ "superseded": true,
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "Contents"
+ },
+ "superseded": true
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "relatedElement",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "Label 12 label"
- },
- "attribute": "aria-labelledby",
- "attributeValue": {
- "type": "idrefList",
- "value": "label12",
+ "type": "token",
+ "value": "false"
+ }
+ },
+ {
+ "name": "labelledby",
+ "value": {
+ "type": "nodeList",
"relatedNodes": [
{
"idref": "label12",
@@ -1185,156 +1264,113 @@
}
]
}
- },
- {
- "type": "attribute",
- "attribute": "aria-label",
- "superseded": true
- },
- {
- "type": "relatedElement",
- "superseded": true,
- "nativeSource": "label"
- },
- {
- "type": "contents",
- "value": {
- "type": "computedString",
- "value": "Contents"
- },
- "superseded": true
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
}
]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- },
- {
- "name": "labelledby",
- "value": {
- "type": "nodeList",
- "relatedNodes": [
- {
- "idref": "label12",
- "text": "Label 12 label",
- "nodeResult": "div#label12"
- }
- ]
- }
- }
- ]
- }
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "textbox"
- },
- "name": {
- "type": "computedString",
- "value": "A B C",
- "sources": [
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "textbox"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "A B C",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "value": {
+ "type": "computedString",
+ "value": "A B C"
+ },
+ "attribute": "aria-labelledby",
+ "attributeValue": {
+ "type": "idrefList",
+ "value": "list1",
+ "relatedNodes": [
+ {
+ "idref": "list1",
+ "text": "A B C",
+ "nodeResult": "ul#list1"
+ }
+ ]
+ }
+ },
+ {
+ "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": [
{
- "type": "relatedElement",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "A B C"
- },
- "attribute": "aria-labelledby",
- "attributeValue": {
- "type": "idrefList",
- "value": "list1",
- "relatedNodes": [
- {
- "idref": "list1",
- "text": "A B C",
- "nodeResult": "ul#list1"
- }
- ]
+ "type": "token",
+ "value": "false"
}
},
{
- "type": "attribute",
- "attribute": "aria-label",
- "superseded": true
+ "name": "multiline",
+ "value": {
+ "type": "boolean",
+ "value": false
+ }
},
{
- "type": "relatedElement",
- "superseded": true,
- "nativeSource": "label"
+ "name": "readonly",
+ "value": {
+ "type": "boolean",
+ "value": false
+ }
},
{
- "type": "placeholder",
- "attribute": "placeholder",
- "superseded": true
+ "name": "required",
+ "value": {
+ "type": "boolean",
+ "value": false
+ }
},
{
- "type": "attribute",
- "attribute": "title",
- "superseded": true
+ "name": "labelledby",
+ "value": {
+ "type": "nodeList",
+ "relatedNodes": [
+ {
+ "idref": "list1",
+ "text": "A B C",
+ "nodeResult": "ul#list1"
+ }
+ ]
+ }
}
]
- },
- "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": "list1",
- "text": "A B C",
- "nodeResult": "ul#list1"
- }
- ]
- }
- }
- ]
- }
+ }
+ ]
}
}

Powered by Google App Engine
This is Rietveld 408576698