Skip to content

Commit

Permalink
A11y: fix html-has-lang accessibility violations (#1150)
Browse files Browse the repository at this point in the history
Co-authored-by: Rob Young <[email protected]>
  • Loading branch information
mockdeep and rhyoung214 authored Jan 25, 2024
1 parent 1d8fdb3 commit ae8cf7a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="<%= I18n.locale %>">
<head>
<title>
<%= content_for(:title) %>
Expand Down
2 changes: 1 addition & 1 deletion spec/javascript/support/views/test/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<title>Stringer JavaScript Test Suite</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
Expand Down
1 change: 0 additions & 1 deletion spec/support/axe_core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ module AccessibilityOverrides
A11Y_SKIP = [
"aria-required-children",
"color-contrast",
"html-has-lang",
"label-title-only",
"landmark-one-main",
"page-has-heading-one",
Expand Down

0 comments on commit ae8cf7a

Please sign in to comment.