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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships-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-getRelationships-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships-expected.txt
index 35fd9bac90690b3cdefbf4c734a8b0433cbee745..5d739173855ce3fd8b6defd5e3699f4a1969cc8f 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships-expected.txt
@@ -15,27 +15,73 @@ Ginger Ale
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "radiogroup"
- },
- "name": {
- "type": "computedString",
- "value": "Lunch Options",
- "sources": [
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "radiogroup"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "Lunch Options",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "value": {
+ "type": "computedString",
+ "value": "Lunch Options"
+ },
+ "attribute": "aria-labelledby",
+ "attributeValue": {
+ "type": "idrefList",
+ "value": "rg1_label",
+ "relatedNodes": [
+ {
+ "idref": "rg1_label",
+ "text": "Lunch Options",
+ "nodeResult": "h3#rg1_label"
+ }
+ ]
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label",
+ "superseded": true
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "relatedElement",
+ "name": "required",
"value": {
- "type": "computedString",
- "value": "Lunch Options"
- },
- "attribute": "aria-labelledby",
- "attributeValue": {
- "type": "idrefList",
- "value": "rg1_label",
+ "type": "boolean",
+ "value": false
+ }
+ },
+ {
+ "name": "activedescendant",
+ "value": {
+ "type": "idref",
+ "relatedNodes": [
+ {
+ "idref": "rg1-r4",
+ "nodeResult": "li#rg1-r4"
+ }
+ ]
+ }
+ },
+ {
+ "name": "labelledby",
+ "value": {
+ "type": "nodeList",
"relatedNodes": [
{
"idref": "rg1_label",
@@ -44,80 +90,70 @@ Ginger Ale
}
]
}
- },
- {
- "type": "attribute",
- "attribute": "aria-label",
- "superseded": true
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
}
]
- },
- "properties": [
- {
- "name": "required",
- "value": {
- "type": "boolean",
- "value": false
- }
- },
- {
- "name": "activedescendant",
- "value": {
- "type": "idref",
- "relatedNodes": [
- {
- "idref": "rg1-r4",
- "nodeResult": "li#rg1-r4"
- }
- ]
- }
- },
- {
- "name": "labelledby",
- "value": {
- "type": "nodeList",
- "relatedNodes": [
- {
- "idref": "rg1_label",
- "text": "Lunch Options",
- "nodeResult": "h3#rg1_label"
- }
- ]
- }
- }
- ]
- }
+ }
+ ]
}
}
{
"id": "<int>",
"result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "radiogroup"
- },
- "name": {
- "type": "computedString",
- "value": "Drink Options",
- "sources": [
+ "nodes": [
+ {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "radiogroup"
+ },
+ "name": {
+ "type": "computedString",
+ "value": "Drink Options",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "value": {
+ "type": "computedString",
+ "value": "Drink Options"
+ },
+ "attribute": "aria-labelledby",
+ "attributeValue": {
+ "type": "idrefList",
+ "value": "rg2_label",
+ "relatedNodes": [
+ {
+ "idref": "rg2_label",
+ "text": "Drink Options",
+ "nodeResult": "h3#rg2_label"
+ }
+ ]
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label",
+ "superseded": true
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
+ "properties": [
{
- "type": "relatedElement",
+ "name": "required",
"value": {
- "type": "computedString",
- "value": "Drink Options"
- },
- "attribute": "aria-labelledby",
- "attributeValue": {
- "type": "idrefList",
- "value": "rg2_label",
+ "type": "boolean",
+ "value": false
+ }
+ },
+ {
+ "name": "labelledby",
+ "value": {
+ "type": "nodeList",
"relatedNodes": [
{
"idref": "rg2_label",
@@ -126,42 +162,10 @@ Ginger Ale
}
]
}
- },
- {
- "type": "attribute",
- "attribute": "aria-label",
- "superseded": true
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
}
]
- },
- "properties": [
- {
- "name": "required",
- "value": {
- "type": "boolean",
- "value": false
- }
- },
- {
- "name": "labelledby",
- "value": {
- "type": "nodeList",
- "relatedNodes": [
- {
- "idref": "rg2_label",
- "text": "Drink Options",
- "nodeResult": "h3#rg2_label"
- }
- ]
- }
- }
- ]
- }
+ }
+ ]
}
}

Powered by Google App Engine
This is Rietveld 408576698