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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/iron-a11y-announcer/README.md

Issue 1162563004: Upgrade to 1.0 and switch clients to dom-repeat where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a layout import and remove the gzipped webanimation in reproduce.sh Created 5 years, 6 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
(Empty)
1 iron-a11y-announcer
2 ===================
3
4 `iron-a11y-announcer` is a singleton element that is intended to add a11y
5 to features that require on-demand announcement from screen readers. In
6 order to make use of the announcer, it is best to request its availability
7 in the announcing element.
8
9 Example:
10
11 Polymer({
12 is: 'x-chatty',
13 attached: function() {
14 // This will create the singlton element if it has not
15 // been created yet:
16 Polymer.IronA11yAnnouncer.requestAvailability();
17 }
18 });
19
20 After the `iron-a11y-announcer` has been made available, elements can
21 make announces by firing bubbling `iron-announce` events.
22
23 Example:
24
25 this.fire('iron-announce', {
26 text: 'This is an announcement!'
27 }, { bubbles: true });
28
29 Note: announcements are only audible if you have a screen reader enabled.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698