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

Unified Diff: LayoutTests/inspector-protocol/accessibility/accessibility-ignoredNodesModal-expected.txt

Issue 1076453004: Show reasons why nodes are ignored in accessibility sidebar (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add a catch-all return to ignoredReasonName Created 5 years, 8 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: LayoutTests/inspector-protocol/accessibility/accessibility-ignoredNodesModal-expected.txt
diff --git a/LayoutTests/inspector-protocol/accessibility/accessibility-ignoredNodesModal-expected.txt b/LayoutTests/inspector-protocol/accessibility/accessibility-ignoredNodesModal-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..563dc097425bf6d0695e2d509048b3e342859c46
--- /dev/null
+++ b/LayoutTests/inspector-protocol/accessibility/accessibility-ignoredNodesModal-expected.txt
@@ -0,0 +1,57 @@
+Hidden by modal dialog
+(Dialog itself is not hidden)
+Non-hidden element inside dialog
+#_1: {
+ "id": "<int>",
+ "result": {
+ "accessibilityNode": {
+ "nodeId": "<string>",
+ "ignored": true,
+ "role": {
+ "type": "internalRole",
+ "value": "Div"
+ },
+ "ignoredReasons": [
+ {
+ "name": "activeModalDialog",
+ "value": {
+ "type": "idref",
+ "relatedNodeValue": {
+ "backendNodeId": "<string>",
+ "idref": "_2"
+ }
+ }
+ }
+ ]
+ }
+ }
+}
+#_2: {
+ "id": "<int>",
+ "result": {
+ "accessibilityNode": {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "dialog"
+ },
+ "properties": []
+ }
+ }
+}
+#_3: {
+ "id": "<int>",
+ "result": {
+ "accessibilityNode": {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "internalRole",
+ "value": "Div"
+ },
+ "properties": []
+ }
+ }
+}
+

Powered by Google App Engine
This is Rietveld 408576698