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

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

Issue 2351443003: Revert of Show ancestor hierarchy in accessibility panel (Closed)
Patch Set: 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 9ffc9e318c54a8f6cf641db6ea1c9e2bd1277c39..838f3795a4a608d542839258047dd3aa956fb2fa 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,625 +1,603 @@
{
"id": "<int>",
"result": {
- "nodes": [
- {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "button"
- },
- "name": {
- "type": "computedString",
- "value": "",
- "sources": [
- {
- "type": "relatedElement",
- "attribute": "aria-labelledby"
+ "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"
+ },
+ {
+ "type": "attribute",
+ "attribute": "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": "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": [
+ {
+ "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"
+ },
+ {
+ "type": "attribute",
+ "attribute": "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": "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": [
+ {
+ "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"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "I love !"
+ }
+ },
+ {
+ "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"
+ },
+ {
+ "type": "contents",
+ "value": {
+ "type": "computedString",
+ "value": "I love cake!"
+ }
+ },
+ {
+ "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"
+ },
+ {
+ "type": "attribute",
+ "value": {
+ "type": "computedString",
+ "value": "button7-title"
},
- {
- "type": "attribute",
- "attribute": "aria-label"
+ "attribute": "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": "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"
},
- {
- "type": "relatedElement",
- "nativeSource": "label"
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "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"
+ },
+ {
+ "type": "attribute",
+ "value": {
+ "type": "computedString",
+ "value": "button9-title"
},
- {
- "type": "contents"
+ "attribute": "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": "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"
},
- {
- "type": "attribute",
- "attribute": "title"
- }
- ]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- }
- ]
- }
- ]
- }
-}
-{
- "id": "<int>",
- "result": {
- "nodes": [
- {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "button"
- },
- "name": {
- "type": "computedString",
- "value": "button2-content",
- "sources": [
- {
- "type": "relatedElement",
- "attribute": "aria-labelledby"
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "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"
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label"
+ },
+ {
+ "type": "relatedElement",
+ "value": {
+ "type": "computedString",
+ "value": "label-for-button11"
},
- {
- "type": "attribute",
- "attribute": "aria-label"
- },
- {
- "type": "relatedElement",
- "nativeSource": "label"
- },
- {
- "type": "contents",
- "value": {
- "type": "computedString",
- "value": "button2-content"
- }
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
- }
- ]
- },
- "properties": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- }
- ]
- }
- ]
- }
-}
-{
- "id": "<int>",
- "result": {
- "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": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- }
- ]
- }
- ]
- }
-}
-{
- "id": "<int>",
- "result": {
- "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": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- }
- ]
- }
- ]
- }
-}
-{
- "id": "<int>",
- "result": {
- "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": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- }
- ]
- }
- ]
- }
-}
-{
- "id": "<int>",
- "result": {
- "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": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- }
- ]
- }
- ]
- }
-}
-{
- "id": "<int>",
- "result": {
- "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": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- }
- ]
- }
- ]
- }
-}
-{
- "id": "<int>",
- "result": {
- "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": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- }
- ]
- }
- ]
- }
-}
-{
- "id": "<int>",
- "result": {
- "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": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- }
- ]
- }
- ]
- }
-}
-{
- "id": "<int>",
- "result": {
- "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": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- }
- ]
- }
- ]
- }
-}
-{
- "id": "<int>",
- "result": {
- "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": [
- {
- "name": "invalid",
- "value": {
- "type": "token",
- "value": "false"
- }
- },
- {
- "name": "labelledby",
- "value": {
+ "nativeSource": "labelfor",
+ "nativeSourceValue": {
"type": "nodeList",
"relatedNodes": [
{
- "text": "label-for-button11",
- "nodeResult": "label"
+ "backendNodeId": "<string>",
+ "text": "label-for-button11"
}
]
}
- }
- ]
- }
- ]
+ },
+ {
+ "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