Просмотр исходного кода

Merge pull request #8561 from overleaf/jel-fix-a11y-text

[web] .sr-only text not nested within aria-hidden

GitOrigin-RevId: 1bb8e1d2322a68df5288ad0f8c7b99acb2f41d2e
Jessica Lawshe 4 лет назад
Родитель
Сommit
09c8a49499
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      services/web/app/views/layout/fat-footer-base.pug

+ 3 - 3
services/web/app/views/layout/fat-footer-base.pug

@@ -9,10 +9,10 @@
 		.fat-footer-base-item
 		.fat-footer-base-item
 			a.fat-footer-social(href="https://twitter.com/overleaf")
 			a.fat-footer-social(href="https://twitter.com/overleaf")
 				i.fa.fa-twitter-square(aria-hidden="true")
 				i.fa.fa-twitter-square(aria-hidden="true")
-					.sr-only Overleaf on Twitter
+				.sr-only Overleaf on Twitter
 			a.fat-footer-social(href="https://www.facebook.com/overleaf.editor")
 			a.fat-footer-social(href="https://www.facebook.com/overleaf.editor")
 				i.fa.fa-facebook-square(aria-hidden="true")
 				i.fa.fa-facebook-square(aria-hidden="true")
-					.sr-only Overleaf on Facebook
+				.sr-only Overleaf on Facebook
 			a.fat-footer-social(href="https://www.linkedin.com/company/writelatex-limited")
 			a.fat-footer-social(href="https://www.linkedin.com/company/writelatex-limited")
 				i.fa.fa-linkedin-square(aria-hidden="true")
 				i.fa.fa-linkedin-square(aria-hidden="true")
-					.sr-only Overleaf on LinkedIn
+				.sr-only Overleaf on LinkedIn