Set current locale as HTML language in all layouts
The same way it's done in the application layout. Not doing so causes accessibility issues affecting screen reader users.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="es">
|
||||
<html lang="<%= I18n.locale %>">
|
||||
|
||||
<head>
|
||||
<%= render "layouts/common_head", default_title: "Admin" %>
|
||||
|
||||
Reference in New Issue
Block a user