1.5 KiB
title | date | tags | coverImage | description | ||
---|---|---|---|---|---|---|
ember new --lang | 2020-06-08 |
|
/img/content/ember-new-lang.png | RFC goes into final comment period for `ember new --lang` flag. |
I've been working with Joseph Sumner, Ava Gaiety W., Jamie White and Melanie Sumner to put together a RFC prioritized by the Ember A11y Strike team. These are talented people and I'm ever so glad I've had the chance to work with them!
Rendered RFC, Candidate Implementation, RFC PR.
This RFC introduces the
--lang
flag as an option forember new
,ember init
, andember addon
commands within the Ember CLI. The feature targets the ember-cli build process -- specifically, when generating the file for the application's entry point atapp/index.html
. If the flag is used with a valid language code, it will assign thelang
attribute in the file's root<html>
element to that code. Thelang
attribute is formally defined within the current HTML5 specification; it is used to specify the base human language of an element or a document in a way that can be programmatically understood by assistive technology.