diff options
author | Frederic Hemberger <mail@frederic-hemberger.de> | 2016-11-02 11:01:18 +0100 |
---|---|---|
committer | Frederic Hemberger <mail@frederic-hemberger.de> | 2016-11-02 11:01:18 +0100 |
commit | d99186949813d1ac142c4927ffeab543aeef6868 (patch) | |
tree | 836f17e3cd94bded6ece65b00a8cc524fa4b96e0 /app/views | |
parent | dd03118098d342398f91b56bd2f27d370bc5b661 (diff) |
a11y: Add HTML lang attribute and utf8 encoding meta tag
See: https://dequeuniversity.com/rules/axe/2.1/html-has-lang
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/application.html.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 4f4f2add9..89c7b14c4 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -1,7 +1,6 @@ !!! 5 -%html +%html{:lang => 'en'} %head - %meta{:content => 'text/html; charset=UTF-8', 'http-equiv' => 'Content-Type'}/ %meta{:charset => 'utf-8'}/ %meta{:name => 'viewport', :content => 'width=device-width, initial-scale=1'}/ %meta{'http-equiv' => 'X-UA-Compatible', :content => 'IE=edge'}/ |