Skip to content

Update Summary section per review#2

Merged
MelSumner merged 4 commits into
ember-new-langfrom
ember-new-lang-jds-summary
May 27, 2020
Merged

Update Summary section per review#2
MelSumner merged 4 commits into
ember-new-langfrom
ember-new-lang-jds-summary

Conversation

@josephdsumner

Copy link
Copy Markdown
Collaborator

Squashed commit for requested changes for the Summary section.

Comment thread text/0000-ember-new-lang.md Outdated
## Summary

Introduce `--lang` flag as an option for `ember new` within Ember-CLI. This will set the `lang` attribute on the html element. A `lang` attribute defines the language of an element or a document.
This RFC introduces the `--lang` flag as an option for `ember new` and `ember init` commands within the Ember CLI. The feature targets the ember-cli build process -- specifically, when generating the file for the application's entry point at `app/index.html`. If the flag is used with a valid language code, it will assign the `lang` attribute in the file's root `<html>` element to that code. In a practical sense, the `lang` attribute defines the base human language of an element or a document in a way that can be programmatically understood by assistive technology.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please link to the spec for the lang attribute somewhere in here.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much! I added the link and put it in the re-appended References section.

@josephdsumner josephdsumner requested a review from MelSumner May 26, 2020 22:17
@MelSumner MelSumner merged commit 061d1cf into ember-new-lang May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants