mirror of https://github.com/sveltejs/svelte
Merge pull request #828 from jpsc/master
feat(a11y): add warning missing lang on html tagpull/829/head
commit
7d774223fc
@ -0,0 +1,5 @@
|
||||
<html lang="en"></html>
|
||||
<html lang="en-US"></html>
|
||||
<html lang={{language}}></html>
|
||||
|
||||
<html></html>
|
@ -0,0 +1,10 @@
|
||||
[
|
||||
{
|
||||
"loc": {
|
||||
"column": 0,
|
||||
"line": 5
|
||||
},
|
||||
"message": "A11y: <html> element should have a lang attribute",
|
||||
"pos": 82
|
||||
}
|
||||
]
|
Loading…
Reference in new issue