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

Side by Side Diff: chrome/test/data/chromeos/oobe_webui_browsertest.js

Issue 2318873002: [MD-Settings-A11y] cr-expand-button should communicate that it expanded. (Closed)
Patch Set: rebase Created 4 years, 2 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 | « no previous file | ui/webui/resources/cr_elements/cr_expand_button/cr_expand_button.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 GEN('#include "chrome/browser/ui/browser.h"'); 5 GEN('#include "chrome/browser/ui/browser.h"');
6 GEN('#include "chrome/browser/ui/browser_commands.h"'); 6 GEN('#include "chrome/browser/ui/browser_commands.h"');
7 GEN('#include "chrome/browser/ui/exclusive_access/' + 7 GEN('#include "chrome/browser/ui/exclusive_access/' +
8 'fullscreen_controller_test.h"'); 8 'fullscreen_controller_test.h"');
9 9
10 /** 10 /**
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 '#supervised-user-creation-image-grid', 70 '#supervised-user-creation-image-grid',
71 'body > .decorated', 71 'body > .decorated',
72 ]; 72 ];
73 73
74 // Enable when failure is resolved. 74 // Enable when failure is resolved.
75 // AX_ARIA_08: http://crbug.com/560924 75 // AX_ARIA_08: http://crbug.com/560924
76 this.accessibilityAuditConfig.ignoreSelectors( 76 this.accessibilityAuditConfig.ignoreSelectors(
77 'requiredOwnedAriaRoleMissing', 77 'requiredOwnedAriaRoleMissing',
78 requiredOwnedAriaRoleMissingSelectors); 78 requiredOwnedAriaRoleMissingSelectors);
79 79
80 // Polymer.PaperButtonBehavior.ariaActiveAttribute starts with aria- but is
81 // not an ARIA attribute. Ignore for paper-icon-button.
82 this.accessibilityAuditConfig.ignoreSelectors(
83 'badAriaAttribute',
84 'paper-icon-button[aria-active-attribute]');
85
80 var badAriaAttributeSelectors = [ 86 var badAriaAttributeSelectors = [
81 '#forgotPasswordDlg', 87 '#forgotPasswordDlg',
82 '#cancelConfirmDlg', 88 '#cancelConfirmDlg',
83 ]; 89 ];
84 90
85 // Enable when failure is resolved. 91 // Enable when failure is resolved.
86 // AX_ARIA_11: http://crbug.com/560935 92 // AX_ARIA_11: http://crbug.com/560935
87 this.accessibilityAuditConfig.ignoreSelectors( 93 this.accessibilityAuditConfig.ignoreSelectors(
88 'badAriaAttribute', 94 'badAriaAttribute',
89 badAriaAttributeSelectors); 95 badAriaAttributeSelectors);
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 expectEquals(!!expectedClasses[className], 238 expectEquals(!!expectedClasses[className],
233 symbol.classList.contains(className)); 239 symbol.classList.contains(className));
234 }); 240 });
235 }); 241 });
236 242
237 login.HIDDetectionScreen.contextChanged({ 243 login.HIDDetectionScreen.contextChanged({
238 'keyboard-state': 'connected' 244 'keyboard-state': 'connected'
239 }); 245 });
240 expectTrue($('hid-keyboard-pincode').hidden); 246 expectTrue($('hid-keyboard-pincode').hidden);
241 }); 247 });
OLDNEW
« no previous file with comments | « no previous file | ui/webui/resources/cr_elements/cr_expand_button/cr_expand_button.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698