Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(a11y): add warning missing lang on html tag #828

Merged
merged 2 commits into from
Sep 7, 2017
Merged

feat(a11y): add warning missing lang on html tag #828

merged 2 commits into from
Sep 7, 2017

Conversation

jpsc
Copy link
Contributor

@jpsc jpsc commented Sep 7, 2017

Adding warning for a11y on html tag without lang attribute.
Refers to #820.

@@ -0,0 +1,5 @@
<html lang="en"></html>
<html lang="en-US"></html>
<html lang={language}></html>
Copy link
Member

Choose a reason for hiding this comment

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

Could you change {language} to {{language}} please? never mind, just realised I can do it in the web editor!

@Rich-Harris Rich-Harris merged commit 7d77422 into sveltejs:master Sep 7, 2017
@Rich-Harris
Copy link
Member

thanks! 👍

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