Home | History | Annotate | only in /external/chromium-trace/catapult/third_party/polymer/components/iron-a11y-announcer
Up to higher level directory
NameDateSize
bower.json06-Dec-20161K
CONTRIBUTING.md06-Dec-20163.2K
demo/06-Dec-2016
index.html06-Dec-2016905
iron-a11y-announcer.html06-Dec-20163.3K
README.md06-Dec-20161.3K
test/06-Dec-2016

README.md

      1 
      2 <!---
      3 
      4 This README is automatically generated from the comments in these files:
      5 iron-a11y-announcer.html
      6 
      7 Edit those files, and our readme bot will duplicate them over here!
      8 Edit this file, and the bot will squash your changes :)
      9 
     10 -->
     11 
     12 [![Build Status](https://travis-ci.org/PolymerElements/iron-a11y-announcer.svg?branch=master)](https://travis-ci.org/PolymerElements/iron-a11y-announcer)
     13 
     14 _[Demo and API Docs](https://elements.polymer-project.org/elements/iron-a11y-announcer)_
     15 
     16 
     17 ##&lt;iron-a11y-announcer&gt;
     18 
     19 
     20 `iron-a11y-announcer` is a singleton element that is intended to add a11y
     21 to features that require on-demand announcement from screen readers. In
     22 order to make use of the announcer, it is best to request its availability
     23 in the announcing element.
     24 
     25 Example:
     26 
     27     Polymer({
     28 
     29       is: 'x-chatty',
     30 
     31       attached: function() {
     32         // This will create the singleton element if it has not
     33         // been created yet:
     34         Polymer.IronA11yAnnouncer.requestAvailability();
     35       }
     36     });
     37 
     38 After the `iron-a11y-announcer` has been made available, elements can
     39 make announces by firing bubbling `iron-announce` events.
     40 
     41 Example:
     42 
     43     this.fire('iron-announce', {
     44       text: 'This is an announcement!'
     45     }, { bubbles: true });
     46 
     47 Note: announcements are only audible if you have a screen reader enabled.
     48 
     49 
     50