<commit_before># A11y-announcer

This addon is to allow for accessible route changes inside of your ember application.
Currently when you change a route, nothing alerts a screen reader that the route
has changed. This is very bad, screen reader users just hear silence.

The goal for this addon is to fill the gaps in embers router. Thank you to
@patrickfox [for the idea!](https://vimeo.com/117614181)

### Getting Started

- `ember install a11y-announcer`
- In your `router.js`file import the mixin:
```js
import A11yAnnouncer from 'a11y-announcer/mixins/announcer';<commit_msg>Add badges and explain how the addon works<commit_after># A11y-announcer 
[![Build Status](https://travis-ci.org/Robdel12/a11y-announcer.svg?branch=master)](https://travis-ci.org/Robdel12/a11y-announcer) 
[![npm version](https://badge.fury.io/js/a11y-announcer.svg)](http://badge.fury.io/js/a11y-announcer)

This addon is to allow for accessible route changes inside of your ember application.
Currently when you change a route, nothing alerts a screen reader that the route
has changed. This is very bad, screen reader users just hear silence.

The goal for this addon is to fill the gaps in embers router. Thank you to
@patrickfox [for the idea!](https://vimeo.com/117614181)

## How does it work?
The basic idea of this addon is to announce the new page title on every route change. This means the page title _needs_ to change on every route. If it's routable, it's different enough to warrent a title change. 

I use [ember-cli-document-title](https://github.com/kimroen/ember-cli-document-title) to help me with manging the title of each route. 

### Getting Started

- `ember install a11y-announcer`
- In your `router.js`file import the mixin:
```js
import A11yAnnouncer from 'a11y-announcer/mixins/announcer';
{'fraction_non_alphanumeric': 0.09242761692650334, 'fraction_numerical': 0.025612472160356347, 'mean_word_length': 4.615625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3242480', 'n_tokens_mistral': 604, 'n_tokens_neox': 565, 'n_words': 222}