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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-buttons-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-buttons-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-buttons-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-buttons-expected.txt
index 838f3795a4a608d542839258047dd3aa956fb2fa..9ffc9e318c54a8f6cf641db6ea1c9e2bd1277c39 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-buttons-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-buttons-expected.txt
@@ -1,603 +1,625 @@
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "button"
- },
- "name": {
- "type": "computedString",
- "value": "",
- "sources": [
- {
- "type": "relatedElement",
- "attribute": "aria-labelledby"
- },
- {
- "type": "attribute",
- "attribute": "aria-label"
- },
- {
- "type": "relatedElement",
- "nativeSource": "label"
- },
- {
- "type": "contents"
- },
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby"
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "relatedElement",
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents"
+ },
+ {
+ "type": "attribute",
+ "attribute": "title"
+ }
+ ]
+ },
+ "properties": [
{
- "type": "attribute",
- "attribute": "title"
+ "name": "invalid",
+ "value": {
+ "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": "button2-content",
- "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": "button2-content",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby"
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "relatedElement",
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "button2-content"
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "contents",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "button2-content"
+ "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": [
- {
- "type": "relatedElement",
- "attribute": "aria-labelledby"
- },
- {
- "type": "attribute",
- "attribute": "aria-label"
- },
- {
- "type": "relatedElement",
- "nativeSource": "label"
- },
- {
- "type": "contents"
- },
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby"
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "relatedElement",
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents"
+ },
+ {
+ "type": "attribute",
+ "attribute": "title"
+ }
+ ]
+ },
+ "properties": [
{
- "type": "attribute",
- "attribute": "title"
+ "name": "invalid",
+ "value": {
+ "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": "cake",
- "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": "cake",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby"
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "relatedElement",
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "cake"
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "contents",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "cake"
+ "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": "I love !",
- "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": "I love !",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby"
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "relatedElement",
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "I love !"
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "contents",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "I love !"
+ "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": "I love cake!",
- "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": "I love cake!",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby"
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "relatedElement",
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "I love cake!"
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "contents",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "I love cake!"
+ "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": "button7-title",
- "sources": [
- {
- "type": "relatedElement",
- "attribute": "aria-labelledby"
- },
- {
- "type": "attribute",
- "attribute": "aria-label"
- },
- {
- "type": "relatedElement",
- "nativeSource": "label"
- },
- {
- "type": "contents"
- },
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "button7-title",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby"
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "relatedElement",
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents"
+ },
+ {
+ "type": "attribute",
+ "value": {
+ "type": "computedString",
+ "value": "button7-title"
+ },
+ "attribute": "title"
+ }
+ ]
+ },
+ "properties": [
{
- "type": "attribute",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "button7-title"
- },
- "attribute": "title"
+ "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": "button8-content",
- "sources": [
- {
- "type": "relatedElement",
- "attribute": "aria-labelledby"
- },
- {
- "type": "attribute",
- "attribute": "aria-label"
- },
- {
- "type": "relatedElement",
- "nativeSource": "label"
- },
- {
- "type": "contents",
- "value": {
- "type": "computedString",
- "value": "button8-content"
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "button8-content",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby"
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "relatedElement",
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "button8-content"
+ }
+ },
+ {
+ "type": "attribute",
+ "value": {
+ "type": "computedString",
+ "value": "button8-title"
+ },
+ "attribute": "title",
+ "superseded": true
}
- },
+ ]
+ },
+ "description": {
+ "type": "computedString",
+ "value": "button8-title"
+ },
+ "properties": [
{
- "type": "attribute",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "button8-title"
- },
- "attribute": "title",
- "superseded": true
+ "type": "token",
+ "value": "false"
+ }
}
]
- },
- "description": {
- "type": "computedString",
- "value": "button8-title"
- },
- "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": "button9-title",
- "sources": [
- {
- "type": "relatedElement",
- "attribute": "aria-labelledby"
- },
- {
- "type": "attribute",
- "attribute": "aria-label"
- },
- {
- "type": "relatedElement",
- "nativeSource": "label"
- },
- {
- "type": "contents"
- },
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "button9-title",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby"
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "relatedElement",
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents"
+ },
+ {
+ "type": "attribute",
+ "value": {
+ "type": "computedString",
+ "value": "button9-title"
+ },
+ "attribute": "title"
+ }
+ ]
+ },
+ "properties": [
{
- "type": "attribute",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "button9-title"
- },
- "attribute": "title"
+ "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": "cake",
- "sources": [
- {
- "type": "relatedElement",
- "attribute": "aria-labelledby"
- },
- {
- "type": "attribute",
- "attribute": "aria-label"
- },
- {
- "type": "relatedElement",
- "nativeSource": "label"
- },
- {
- "type": "contents",
- "value": {
- "type": "computedString",
- "value": "cake"
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "cake",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby"
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "relatedElement",
+ "nativeSource": "label"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "cake"
+ }
+ },
+ {
+ "type": "attribute",
+ "value": {
+ "type": "computedString",
+ "value": "button10-title"
+ },
+ "attribute": "title",
+ "superseded": true
}
- },
+ ]
+ },
+ "description": {
+ "type": "computedString",
+ "value": "button10-title"
+ },
+ "properties": [
{
- "type": "attribute",
+ "name": "invalid",
"value": {
- "type": "computedString",
- "value": "button10-title"
- },
- "attribute": "title",
- "superseded": true
+ "type": "token",
+ "value": "false"
+ }
}
]
- },
- "description": {
- "type": "computedString",
- "value": "button10-title"
- },
- "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-for-button11",
- "sources": [
- {
- "type": "relatedElement",
- "attribute": "aria-labelledby"
- },
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "button"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "label-for-button11",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "attribute": "aria-labelledby"
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "relatedElement",
+ "value": {
+ "type": "computedString",
+ "value": "label-for-button11"
+ },
+ "nativeSource": "labelfor",
+ "nativeSourceValue": {
+ "type": "nodeList",
+ "relatedNodes": [
+ {
+ "backendNodeId": "<string>",
+ "text": "label-for-button11"
+ }
+ ]
+ }
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "button11-content"
+ },
+ "superseded": true
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "attribute",
- "attribute": "aria-label"
+ "name": "invalid",
+ "value": {
+ "type": "token",
+ "value": "false"
+ }
},
{
- "type": "relatedElement",
+ "name": "labelledby",
"value": {
- "type": "computedString",
- "value": "label-for-button11"
- },
- "nativeSource": "labelfor",
- "nativeSourceValue": {
"type": "nodeList",
"relatedNodes": [
{
- "backendNodeId": "<string>",
- "text": "label-for-button11"
+ "text": "label-for-button11",
+ "nodeResult": "label"
}
]
}
- },
- {
- "type": "contents",
- "value": {
- "type": "computedString",
- "value": "button11-content"
- },
- "superseded": true
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
}
]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- },
- {
- "name": "labelledby",
- "value": {
- "type": "nodeList",
- "relatedNodes": [
- {
- "text": "label-for-button11",
- "nodeResult": "label"
- }
- ]
- }
- }
- ]
- }
+ }
+ ]
}
}

Powered by Google App Engine
This is Rietveld 408576698