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

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

Issue 1783553005: [Media Router WebUI] Fix AX_TEXT_04 and AX_FOCUS_01 warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 var requiredOwnedAriaRoleMissingSelectors = [ 63 var requiredOwnedAriaRoleMissingSelectors = [
64 '#cast-mode-list', 64 '#cast-mode-list',
65 '#sink-list' 65 '#sink-list'
66 ]; 66 ];
67 67
68 // Enable when failure is resolved. 68 // Enable when failure is resolved.
69 // AX_ARIA_08: http://crbug.com/591552 69 // AX_ARIA_08: http://crbug.com/591552
70 this.accessibilityAuditConfig.ignoreSelectors( 70 this.accessibilityAuditConfig.ignoreSelectors(
71 'requiredOwnedAriaRoleMissing', requiredOwnedAriaRoleMissingSelectors); 71 'requiredOwnedAriaRoleMissing', requiredOwnedAriaRoleMissingSelectors);
72
73 // Enable when warning is resolved.
74 // AX_FOCUS_01: http://crbug.com/591553
75 this.accessibilityAuditConfig.ignoreSelectors(
76 'focusableElementNotVisibleAndNotAriaHidden', '#device-missing > A');
77
78 // Enable when warning is resolved.
79 // AX_TEXT_04: http://crbug.com/591554
80 this.accessibilityAuditConfig.ignoreSelectors(
81 'linkWithUnclearPurpose', '#device-missing > A');
82 }, 72 },
83 }; 73 };
84 74
85 TEST_F('MediaRouterElementsBrowserTest', 'MediaRouterElementsTestIssueBanner', 75 TEST_F('MediaRouterElementsBrowserTest', 'MediaRouterElementsTestIssueBanner',
86 function() { 76 function() {
87 // Register mocha tests for the issue banner. 77 // Register mocha tests for the issue banner.
88 issue_banner.registerTests(); 78 issue_banner.registerTests();
89 79
90 // Run all registered tests. 80 // Run all registered tests.
91 mocha.run(); 81 mocha.run();
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 124
135 TEST_F('MediaRouterElementsBrowserTest', 125 TEST_F('MediaRouterElementsBrowserTest',
136 'MediaRouterElementsTestMediaRouterRouteDetails', 126 'MediaRouterElementsTestMediaRouterRouteDetails',
137 function() { 127 function() {
138 // Register mocha tests for the route details. 128 // Register mocha tests for the route details.
139 route_details.registerTests(); 129 route_details.registerTests();
140 130
141 // Run all registered tests. 131 // Run all registered tests.
142 mocha.run(); 132 mocha.run();
143 }); 133 });
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