Some small changes to make to your new Ember app to make it WCAG conformant:
- adds
langattribute inapp/index.html(you can also do this viaember new my-app --lang enwhereenis the spoken language code for your application) - adds
user-scalable=yesto themetatag with theviewportattribute. - adds
ember-a11y-refocusaddon for accessible routing - adds a
mainelement withid="main"around the{{outlet}}in application.hbs (needed by ember-a11y-refocus)
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
git clone <repository-url>this repositorycd accessibility-basenpm install
ember serve- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Make use of the many generators for code, try ember help generate for more details
ember testember test --server
npm run lintnpm run lint:fix
ember build(development)ember build --environment production(production)
Specify what it takes to deploy your app.