a11y: Add HTML lang attribute and utf8 encoding meta tag
See: https://dequeuniversity.com/rules/axe/2.1/html-has-lang
This commit is contained in:
		
							parent
							
								
									dd03118098
								
							
						
					
					
						commit
						d991869498
					
				
					 4 changed files with 7 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -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'}/
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue