[Client] Accessibility improvements
- Add lang attribute with fr value on the html element; - Fix alternative text for the theme switcher button; - Add title attribute on footer links.
This commit is contained in:
		
							parent
							
								
									274f61f651
								
							
						
					
					
						commit
						47b82f2b69
					
				| @ -1,5 +1,5 @@ | |||||||
| <!DOCTYPE html> | <!DOCTYPE html> | ||||||
| <html> | <html lang="fr"> | ||||||
|     <head> |     <head> | ||||||
|         <title>Truth Inquiry</title> |         <title>Truth Inquiry</title> | ||||||
|         <link rel="stylesheet" href="res/ui/game_ui.css"> |         <link rel="stylesheet" href="res/ui/game_ui.css"> | ||||||
| @ -12,7 +12,7 @@ | |||||||
|         <div class="alert_dialog_background"></div> |         <div class="alert_dialog_background"></div> | ||||||
|         <div class="game_start"> |         <div class="game_start"> | ||||||
|             <div class="header_actions"> |             <div class="header_actions"> | ||||||
|                 <button class="top_button theme_switcher" alt="Changer de thème"> |                 <button class="top_button theme_switcher" aria-label="Changer de thème"> | ||||||
|                     <svg class="theme_switcher_btn" xmlns="http://www.w3.org/2000/svg" height="48" width="48" fill="white"> |                     <svg class="theme_switcher_btn" xmlns="http://www.w3.org/2000/svg" height="48" width="48" fill="white"> | ||||||
|                         <path d="M24 34q-4.15 0-7.075-2.925T14 24q0-4.15 2.925-7.075T24 14q4.15 0 7.075 2.925T34 24q0 4.15-2.925 7.075T24 34ZM2 25.5v-3h8v3Zm36 0v-3h8v3ZM22.5 10V2h3v8Zm0 36v-8h3v8Zm-9.45-30.85L8.1 10.2l2.1-2.1 4.95 4.95ZM37.8 39.9l-4.95-4.95 2.1-2.1 4.95 4.95Zm-2.85-24.75-2.1-2.1L37.8 8.1l2.1 2.1ZM10.2 39.9l-2.1-2.1 4.95-4.95 2.1 2.1Z"/> |                         <path d="M24 34q-4.15 0-7.075-2.925T14 24q0-4.15 2.925-7.075T24 14q4.15 0 7.075 2.925T34 24q0 4.15-2.925 7.075T24 34ZM2 25.5v-3h8v3Zm36 0v-3h8v3ZM22.5 10V2h3v8Zm0 36v-8h3v8Zm-9.45-30.85L8.1 10.2l2.1-2.1 4.95 4.95ZM37.8 39.9l-4.95-4.95 2.1-2.1 4.95 4.95Zm-2.85-24.75-2.1-2.1L37.8 8.1l2.1 2.1ZM10.2 39.9l-2.1-2.1 4.95-4.95 2.1 2.1Z"/> | ||||||
|                     </svg> |                     </svg> | ||||||
| @ -40,9 +40,9 @@ | |||||||
|         </noscript> |         </noscript> | ||||||
|         <footer> |         <footer> | ||||||
|             <div class="footer_links"> |             <div class="footer_links"> | ||||||
|                 <a href="/privacy.html" class="footer_link" target="_blank">Politique de confidentialité</a> |                 <a href="/privacy.html" class="footer_link" target="_blank" title="Consulter la politique de confidentialité de Thruth Inquiry (ouverture dans un nouvel onglet)">Politique de confidentialité</a> | ||||||
|                 <a href="/licenses.html" class="footer_link" target="_blank">Licenses</a> |                 <a href="/licenses.html" class="footer_link" target="_blank" title="Consulter les licenses des éléments non-originaux de Thruth Inquiry (ouverture dans un nouvel onglet)">Licenses</a> | ||||||
|                 <a href="/legal.html" class="footer_link" target="_blank">Mentions légales</a> |                 <a href="/legal.html" class="footer_link" target="_blank" title="Consulter les mentions légales de Thruth Inquiry (ouverture dans un nouvel onglet)">Mentions légales</a> | ||||||
|             </div> |             </div> | ||||||
|         </footer> |         </footer> | ||||||
|         <script src="res/core/game_common.js"></script> |         <script src="res/core/game_common.js"></script> | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user