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

Side by Side Diff: chrome/test/data/webui/media_router/media_router_elements_browsertest.js

Issue 1849283004: [Media Router WebUI] Resolve AX_ARIA_08 failure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/media_router/elements/media_router_container/media_router_container.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** @fileoverview Runs the Media Router Polymer elements tests. */ 5 /** @fileoverview Runs the Media Router Polymer elements tests. */
6 6
7 /** @const {string} Path to source root. */ 7 /** @const {string} Path to source root. */
8 var ROOT_PATH = '../../../../../'; 8 var ROOT_PATH = '../../../../../';
9 9
10 // Polymer BrowserTest fixture. 10 // Polymer BrowserTest fixture.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Enable when failure is resolved. 57 // Enable when failure is resolved.
58 // AX_ARIA_02: http://crbug.com/591547 58 // AX_ARIA_02: http://crbug.com/591547
59 this.accessibilityAuditConfig.ignoreSelectors( 59 this.accessibilityAuditConfig.ignoreSelectors(
60 'nonExistentAriaRelatedElement', '#input'); 60 'nonExistentAriaRelatedElement', '#input');
61 61
62 // Enable when failure is resolved. 62 // Enable when failure is resolved.
63 // AX_ARIA_04: http://crbug.com/591550 63 // AX_ARIA_04: http://crbug.com/591550
64 this.accessibilityAuditConfig.ignoreSelectors( 64 this.accessibilityAuditConfig.ignoreSelectors(
65 'badAriaAttributeValue', '#input'); 65 'badAriaAttributeValue', '#input');
66 66
67 var requiredOwnedAriaRoleMissingSelectors = [
68 '#cast-mode-list',
69 '#sink-list'
70 ];
71
72 // Enable when failure is resolved.
73 // AX_ARIA_08: http://crbug.com/591552
74 this.accessibilityAuditConfig.ignoreSelectors(
75 'requiredOwnedAriaRoleMissing', requiredOwnedAriaRoleMissingSelectors);
76
77 // This element is used as a focus placeholder on dialog open, then 67 // This element is used as a focus placeholder on dialog open, then
78 // deleted. The user will be unable to tab to it. Remove when there is a 68 // deleted. The user will be unable to tab to it. Remove when there is a
79 // long term fix. 69 // long term fix.
80 this.accessibilityAuditConfig.ignoreSelectors( 70 this.accessibilityAuditConfig.ignoreSelectors(
81 'focusableElementNotVisibleAndNotAriaHidden', '#focus-placeholder'); 71 'focusableElementNotVisibleAndNotAriaHidden', '#focus-placeholder');
82 }, 72 },
83 }; 73 };
84 74
85 TEST_F('MediaRouterElementsBrowserTest', 'IssueBanner', function() { 75 TEST_F('MediaRouterElementsBrowserTest', 'IssueBanner', function() {
86 issue_banner.registerTests(); 76 issue_banner.registerTests();
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 'MediaRouterSearchHighlighter', 123 'MediaRouterSearchHighlighter',
134 function() { 124 function() {
135 media_router_search_highlighter.registerTests(); 125 media_router_search_highlighter.registerTests();
136 mocha.run(); 126 mocha.run();
137 }); 127 });
138 128
139 TEST_F('MediaRouterElementsBrowserTest', 'MediaRouterRouteDetails', function() { 129 TEST_F('MediaRouterElementsBrowserTest', 'MediaRouterRouteDetails', function() {
140 route_details.registerTests(); 130 route_details.registerTests();
141 mocha.run(); 131 mocha.run();
142 }); 132 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/media_router/elements/media_router_container/media_router_container.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698