From 2b9dea3798d625943d12c1a959d817cac71122df Mon Sep 17 00:00:00 2001 From: Jeremy Green Date: Wed, 30 Aug 2023 07:25:04 -0700 Subject: [PATCH] Accessibility: Add `lang` attribute to opening `html` tags (#497) Fixes https://github.com/bullet-train-co/bullet_train-core/issues/111 --- .../app/views/themes/light/layouts/_account.html.erb | 2 +- .../app/views/themes/light/layouts/_devise.html.erb | 2 +- .../app/views/themes/light/layouts/_mailer.html.erb | 2 +- .../app/views/themes/light/layouts/_pricing.html.erb | 2 +- bullet_train/app/views/layouts/docs.html.erb | 2 +- bullet_train/app/views/layouts/public.html.erb | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bullet_train-themes-light/app/views/themes/light/layouts/_account.html.erb b/bullet_train-themes-light/app/views/themes/light/layouts/_account.html.erb index 36bd50313..ee08ab7e9 100644 --- a/bullet_train-themes-light/app/views/themes/light/layouts/_account.html.erb +++ b/bullet_train-themes-light/app/views/themes/light/layouts/_account.html.erb @@ -1,5 +1,5 @@ -"> +" lang="<%= I18n.locale %>"> <%= render 'shared/layouts/head' %> diff --git a/bullet_train-themes-light/app/views/themes/light/layouts/_devise.html.erb b/bullet_train-themes-light/app/views/themes/light/layouts/_devise.html.erb index 0c0cd5c3c..6413868a5 100644 --- a/bullet_train-themes-light/app/views/themes/light/layouts/_devise.html.erb +++ b/bullet_train-themes-light/app/views/themes/light/layouts/_devise.html.erb @@ -1,5 +1,5 @@ -"> +" lang="<%= I18n.locale %>"> <%= render 'shared/layouts/head' %> diff --git a/bullet_train-themes-light/app/views/themes/light/layouts/_mailer.html.erb b/bullet_train-themes-light/app/views/themes/light/layouts/_mailer.html.erb index ac711d32a..273143401 100644 --- a/bullet_train-themes-light/app/views/themes/light/layouts/_mailer.html.erb +++ b/bullet_train-themes-light/app/views/themes/light/layouts/_mailer.html.erb @@ -1,4 +1,4 @@ - + diff --git a/bullet_train-themes-light/app/views/themes/light/layouts/_pricing.html.erb b/bullet_train-themes-light/app/views/themes/light/layouts/_pricing.html.erb index ab40492ed..9885ce0aa 100644 --- a/bullet_train-themes-light/app/views/themes/light/layouts/_pricing.html.erb +++ b/bullet_train-themes-light/app/views/themes/light/layouts/_pricing.html.erb @@ -1,5 +1,5 @@ -"> +" lang="<%= I18n.locale %>"> <%= render 'shared/layouts/head' %> diff --git a/bullet_train/app/views/layouts/docs.html.erb b/bullet_train/app/views/layouts/docs.html.erb index a4fa50b09..5649352b9 100644 --- a/bullet_train/app/views/layouts/docs.html.erb +++ b/bullet_train/app/views/layouts/docs.html.erb @@ -1,6 +1,6 @@ - + <% # we're going to use the diff --git a/bullet_train/app/views/layouts/public.html.erb b/bullet_train/app/views/layouts/public.html.erb index b090b659f..8141606bc 100644 --- a/bullet_train/app/views/layouts/public.html.erb +++ b/bullet_train/app/views/layouts/public.html.erb @@ -1,5 +1,5 @@ -"> +" lang="<%= I18n.locale %>"> <%= render 'shared/layouts/head' %>