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

Side by Side Diff: third_party/polymer/components/paper-dialog-behavior/test/paper-dialog-behavior.html

Issue 2113853002: Run bower update (Closed) Base URL: https://github.com/catapult-project/catapult@polymer10-migration
Patch Set: Created 4 years, 5 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 <!doctype html> 1 <!doctype html>
2 <!-- 2 <!--
3 @license 3 @license
4 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. 4 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
5 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 5 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
6 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 6 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
7 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 7 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
8 Code distributed by Google as part of the polymer project is also 8 Code distributed by Google as part of the polymer project is also
9 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 9 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
10 --> 10 -->
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 393
394 }); 394 });
395 395
396 suite('a11y', function() { 396 suite('a11y', function() {
397 397
398 test('dialog has role="dialog"', function() { 398 test('dialog has role="dialog"', function() {
399 var dialog = fixture('basic'); 399 var dialog = fixture('basic');
400 assert.equal(dialog.getAttribute('role'), 'dialog', 'has role="dialog" '); 400 assert.equal(dialog.getAttribute('role'), 'dialog', 'has role="dialog" ');
401 }); 401 });
402 402
403 test('dialog has aria-modal=false', function() {
404 var dialog = fixture('basic');
405 assert.equal(dialog.getAttribute('aria-modal'), 'false', 'has aria-mod al="false"');
406 });
407
408 test('modal dialog has aria-modal=true', function() {
409 var dialog = fixture('modal');
410 assert.equal(dialog.getAttribute('aria-modal'), 'true', 'has aria-moda l="true"');
411 });
412
413 }); 403 });
414 </script> 404 </script>
415 405
416 </body> 406 </body>
417 407
418 </html> 408 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698