Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cfe60b5

Browse files
dave11mjsumitarora
authored andcommittedMay 15, 2017
fix(@angular/cli): adds language to index.html for accessibility
1 parent 4f48be0 commit cfe60b5

File tree

1 file changed

+1
-1
lines changed
  • packages/@angular/cli/blueprints/ng/files/__path__

1 file changed

+1
-1
lines changed
 

‎packages/@angular/cli/blueprints/ng/files/__path__/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<meta charset="utf-8">
55
<title><%= jsComponentName %></title>

1 commit comments

Comments
 (1)

cyrilletuzi commented on May 16, 2017

@cyrilletuzi
Contributor

Shouldn't it come with a new option for ng new to choose the language ? It doesn't feel right English is enforced...

Of course there is just to change the index.html, and it's a quick change. But as the goal of the CLI is to produce ready-to-use files, and as most people won't check and change those static files, it seems quite adventurous to me.

Please sign in to comment.