Skip to content
Snippets Groups Projects
Commit d9918694 authored by Frederic Hemberger's avatar Frederic Hemberger
Browse files

a11y: Add HTML lang attribute and utf8 encoding meta tag

See: https://dequeuniversity.com/rules/axe/2.1/html-has-lang
parent dd031180
No related branches found
No related tags found
No related merge requests found
!!! 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'}/
......
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The page you were looking for doesn't exist (404)</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
......
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The change you wanted was rejected (422)</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
......
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>We're sorry, but something went wrong (500)</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment