diff --git a/guides/release/code-editors/index.md b/guides/release/code-editors/index.md index 054761999a..327e367192 100644 --- a/guides/release/code-editors/index.md +++ b/guides/release/code-editors/index.md @@ -102,22 +102,6 @@ Shortcuts to navigate related files with Ember.js projects. [Ember Tools](https://github.com/AndrewRadev/ember_tools.vim) - Various tools for working with Ember.js projects. -## Atom - -Atom is hackable text editor for the 21st Century. - -[atom-ide-ember](https://github.com/josa42/atom-ide-ember) - -Atom package to use the Ember Language Server. - -[emberjs-atom](https://atom.io/packages/emberjs-atom) - -Atom autocomplete and snippets for Ember.js. - -[atom-ember-snippets](https://github.com/mattmcmanus/atom-ember-snippets) - -Ember.js ES6, EmberData & Handlebars snippets for Atom editor. - -[language-ember-htmlbars](https://atom.io/packages/language-ember-htmlbars) - -Add Ember template syntax highlighting and indentation to Atom - ## Sublime Text A sophisticated text editor for code, markup and prose. @@ -127,9 +111,3 @@ Ember CLI snippets for Sublime Text 3. [ember-component-template-split-view](https://github.com/mmitchellgarcia/ember-component-template-split-view) - Super simple Sublime Text plugin that will let you open corresponding template or route files with Ember.js components. - -## CodeLobster IDE - -CodeLobster IDE is a smart free cross-platform editor. - -[CodeLobster IDE plug-in for Ember](http://www.codelobster.com/emberjs.html) gives autocomplete and tooltips for Ember.js functions, context and dynamic help. diff --git a/guides/release/routing/controllers.md b/guides/release/routing/controllers.md index d26298b78a..148762ff24 100644 --- a/guides/release/routing/controllers.md +++ b/guides/release/routing/controllers.md @@ -1,6 +1,6 @@ ### What is a Controller? -A [Controller](https://api.emberjs.com/ember/release/classes/Ember.Controller) is routable object which receives a single property from the Route – `model` – which is the return value of the Route's [`model()`](https://api.emberjs.com/ember/release/classes/Route/methods/model?anchor=model) method. +A [Controller](https://api.emberjs.com/ember/release/classes/Ember.Controller) is a routable object which receives a single property from the Route – `model` – which is the return value of the Route's [`model()`](https://api.emberjs.com/ember/release/classes/Route/methods/model?anchor=model) method. The model is passed from the Route to the Controller by default using the [`setupController()`](https://api.emberjs.com/ember/release/classes/Route/methods/setupController?anchor=setupController) function. The Controller is then often used to decorate the model with display properties such as retrieving the full name from a name model. diff --git a/guides/v6.5.0/accessibility/application-considerations.md b/guides/v6.5.0/accessibility/application-considerations.md new file mode 100644 index 0000000000..95b487211c --- /dev/null +++ b/guides/v6.5.0/accessibility/application-considerations.md @@ -0,0 +1,58 @@ +In this section, you will learn about the configurations and libraries that affect an entire application's accessibility. + +## Lang Attribute + +Declaring the language of the HTML document allows users to better understand your content. + +> Both assistive technologies and conventional user agents can render text more accurately when the language of the Web page is identified. Screen readers can load the correct pronunciation rules. Visual browsers can display characters and scripts correctly. Media players can show captions correctly. As a result, users with disabilities will be better able to understand the content. +> [WCAG Success Criterion 3.1.1: Intent](https://www.w3.org/WAI/WCAG21/Understanding/language-of-page.html#intent) + +A primary language should be defined on the `` element's `lang` attribute. For new apps, you can use the `--lang` option on the `ember new` command to set the language for a new application. + +```bash +ember new mon-app --lang fr +``` + +This command will create your application with French defined as the primary language +on the `` element's `lang` attribute. + +For existing Ember apps, a developer may edit the `index.html` file or leverage [ember-intl](https://github.com/ember-intl/ember-intl). + +The `html` element may not have multiple `lang` _values_. If an element contains content in a language different from the primary, then you can provide the element its own `lang` attribute. + + + +
+