ember-aria
v0.0.1
Published
The default blueprint for ember-cli addons.
Downloads
16
Readme
Ember-ARIA
Ember-ARIA aims to provide primitives to use when creating accessible websites.
Usually ARIA states and properties can be set automatically based on other
properties, for example aria-checked
may be obtained from checked
.
Installation
git clone https://github.com/drogus/ember-aria
npm install
bower install
Mixins
At the moment the following mixins are available:
ember-aria/mixins/disabled-state
- sets theariaDisabled
property based on thedisabled
proeprty, also adds it toattributeBindings
ember-aria/mixins/checkbox-role
- setsrole
tocheckbox
, includesdisabled-state
and sets theariaChecked
property based on thechecked
property. Bothrole
andariaChecked
are added toattributeBindings
ember-aria/mixins/button-role
- setsrole
tobutton
, includesdisabled-state
and sets theariaPressed
property based on thepressed
property. Bothrole
andariaPressed
are added toattributeBindings
Running Tests
ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.