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.github.io/LICENSE.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/CONTRIBUTORS.txt
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/PATENTS.txt
14
<title>paper-dialog tests</title>
16
<meta charset="utf-8">
17
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
18
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes">
20
<script src="../../webcomponentsjs/webcomponents-lite.js"></script>
21
<script src="../../web-component-tester/browser.js"></script>
22
<link rel="import" href="../paper-dialog.html">
27
<test-fixture id="basic">
37
suite('a11y', function() {
39
test('dialog has role="dialog"', function() {
40
var dialog = fixture('basic');
41
assert.equal(dialog.getAttribute('role'), 'dialog', 'has role="dialog"');