ember-a11y/ember-a11y

Name: ember-a11y

Owner: Ember A11y

Description: A collection of tools to build accessible Ember applications.

Created: 2016-02-27 21:08:16.0

Updated: 2017-12-19 20:10:55.0

Pushed: 2017-08-25 23:00:54.0

Homepage: http://ember-a11y.github.io/ember-a11y/

Size: 682

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ember-a11y

Build Status npm version Ember Observer Score Code Climate

This Ember addon provides a {{focusing-outlet}} component which you can use in place of normal {{outlet}}s.

The current implementation of this addon will immediately apply focus to the most relevant piece of content based on actions users take (clicking buttons, links, etc). This allows screen readers to catch changes and read the right information, thus providing a much better experience for blind users.

Usage

ember install ember-a11y

In your templates you would then swap in {{focusing-outlet}} for {{outlet}} wherever it may occur.

You also need to ensure that your application's router is not set to use locationType: 'hash'. Set ENV.locationType appropriately inside of config/environment.js.

Note about ember-getowner-polyfill

If you are using Ember 2.3.0-beta+ you should add ember-getowner-polyfill to your blacklist in ember-cli-build.js:

app = new EmberAddon(defaults, {
dons: {
blacklist: ['ember-getowner-polyfill']


Demo Application

Included in this addon is a demo application for testing ember-a11y.

You can access it through Github Pages or build it from source files with the following steps:

Using a Screen Reader

Many of the examples in the demo app are meant to be used alongside a screen reader. A few of our suggestions:

Commands

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.