ember-aria
ember-aria copied to clipboard
Set of primitives to make developing accessible websites easier
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
-
ember install:addon ember-aria
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/.