Skip to content

Commit

Permalink
fix(MetaHeader): add html lang attribute for a11y
Browse files Browse the repository at this point in the history
  • Loading branch information
sabertazimi committed Aug 9, 2021
1 parent 2351581 commit 59e7174
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/MetaHeader/MetaHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ interface Props {

const MetaHeader = ({ siteUrl, title }: Props): JSX.Element => (
<ErrorBoundary>
<Helmet key={siteUrl}>
<Helmet
key={siteUrl}
htmlAttributes={{
lang: 'en',
}}
>
<meta charSet="UTF-8" />
<meta httpEquiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand Down

0 comments on commit 59e7174

Please sign in to comment.