Skip to content

Commit

Permalink
Add lang attribute to <html> element
Browse files Browse the repository at this point in the history
Improves accessibility for those using screen readers, as described by https://dequeuniversity.com/rules/axe/4.7/html-has-lang.
  • Loading branch information
veyndan authored and willnorris committed Aug 7, 2023
1 parent cc27c21 commit 376a607
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<title>{{ with .Title }}{{ . }}{{ else }}{{ .Site.Title }}{{ end }}</title>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/redirect.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta name="robots" content="noindex">
<meta http-equiv="refresh" content="0; url={{ .Params.redirect_url | relURL }}">
Expand Down

0 comments on commit 376a607

Please sign in to comment.