| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 @license | 2 @license |
| 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
| 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
| 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
| 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
| 7 Code distributed by Google as part of the polymer project is also | 7 Code distributed by Google as part of the polymer project is also |
| 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
| 9 --><html><head><link rel="import" href="../polymer/polymer.html"> | 9 --><html><head><link rel="import" href="../polymer/polymer.html"> |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 text: 'This is an announcement!' | 36 text: 'This is an announcement!' |
| 37 }, { bubbles: true }); | 37 }, { bubbles: true }); |
| 38 | 38 |
| 39 Note: announcements are only audible if you have a screen reader enabled. | 39 Note: announcements are only audible if you have a screen reader enabled. |
| 40 | 40 |
| 41 @group Iron Elements | 41 @group Iron Elements |
| 42 @demo demo/index.html | 42 @demo demo/index.html |
| 43 --> | 43 --> |
| 44 | 44 |
| 45 </head><body><dom-module id="iron-a11y-announcer"> | 45 </head><body><dom-module id="iron-a11y-announcer"> |
| 46 <style> | |
| 47 :host { | |
| 48 display: inline-block; | |
| 49 position: fixed; | |
| 50 clip: rect(0px,0px,0px,0px); | |
| 51 } | |
| 52 </style> | |
| 53 | |
| 54 <template> | 46 <template> |
| 47 <style> |
| 48 :host { |
| 49 display: inline-block; |
| 50 position: fixed; |
| 51 clip: rect(0px,0px,0px,0px); |
| 52 } |
| 53 </style> |
| 55 <div aria-live$="[[mode]]">[[_text]]</div> | 54 <div aria-live$="[[mode]]">[[_text]]</div> |
| 56 </template> | 55 </template> |
| 57 | 56 |
| 58 </dom-module> | 57 </dom-module> |
| 59 <script src="iron-a11y-announcer-extracted.js"></script></body></html> | 58 <script src="iron-a11y-announcer-extracted.js"></script></body></html> |
| OLD | NEW |