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

Side by Side Diff: chrome/browser/resources/settings/people_page/sync_page.js

Issue 2715763002: MD-Settings A11y: Disable radio list if all options are disabled. (Closed)
Patch Set: move the tabindex Created 3 years, 10 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
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 (function() { 5 (function() {
6 6
7 /** 7 /**
8 * Names of the radio buttons which allow the user to choose their encryption 8 * Names of the radio buttons which allow the user to choose their encryption
9 * mechanism. 9 * mechanism.
10 * @enum {string} 10 * @enum {string}
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 /** 425 /**
426 * @param {!Event} event 426 * @param {!Event} event
427 * @private 427 * @private
428 */ 428 */
429 onLearnMoreTap_: function(event) { 429 onLearnMoreTap_: function(event) {
430 if (event.target.tagName == 'A') { 430 if (event.target.tagName == 'A') {
431 // Stop the propagation of events, so that clicking on links inside 431 // Stop the propagation of events, so that clicking on links inside
432 // checkboxes or radio buttons won't change the value. 432 // checkboxes or radio buttons won't change the value.
433 event.stopPropagation(); 433 event.stopPropagation();
434 } 434 }
435 } 435 },
436 }); 436 });
437 437
438 })(); 438 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698