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

Side by Side Diff: lib/src/iron-a11y-announcer/iron-a11y-announcer.html

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 1 month 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 <!-- 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 --> 9 -->
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 <dom-module id="iron-a11y-announcer"> 47 <dom-module id="iron-a11y-announcer">
48 <style> 48 <style>
49 :host { 49 :host {
50 display: inline-block; 50 display: inline-block;
51 position: fixed; 51 position: fixed;
52 clip: rect(0px,0px,0px,0px); 52 clip: rect(0px,0px,0px,0px);
53 } 53 }
54 </style> 54 </style>
55 55
56 <template> 56 <template>
57 <span aria-live$="[[mode]]">[[_text]]</span> 57 <div aria-live$="[[mode]]">[[_text]]</div>
58 </template> 58 </template>
59 59
60 <script> 60 <script>
61 61
62 (function() { 62 (function() {
63 'use strict'; 63 'use strict';
64 64
65 Polymer.IronA11yAnnouncer = Polymer({ 65 Polymer.IronA11yAnnouncer = Polymer({
66 is: 'iron-a11y-announcer', 66 is: 'iron-a11y-announcer',
67 67
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 if (!Polymer.IronA11yAnnouncer.instance) { 116 if (!Polymer.IronA11yAnnouncer.instance) {
117 Polymer.IronA11yAnnouncer.instance = document.createElement('iron-a11y -announcer'); 117 Polymer.IronA11yAnnouncer.instance = document.createElement('iron-a11y -announcer');
118 } 118 }
119 119
120 document.body.appendChild(Polymer.IronA11yAnnouncer.instance); 120 document.body.appendChild(Polymer.IronA11yAnnouncer.instance);
121 }; 121 };
122 })(); 122 })();
123 123
124 </script> 124 </script>
125 </dom-module> 125 </dom-module>
OLDNEW
« no previous file with comments | « lib/src/hydrolysis/index.js ('k') | lib/src/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698