Skip to content

Commit

Permalink
Update accessibility article: fix missing space around code block in …
Browse files Browse the repository at this point in the history
…labels section
  • Loading branch information
MartijnHols committed Jan 10, 2025
1 parent b71cfc8 commit 5478b87
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ const BlogArticleAccessibilityEssentials = (props: ArticleStaticProps) => (
Every input field must have a clear label describing its purpose.
</strong>{' '}
Labels should be linked to the input field by making the <Code>for</Code>{' '}
attribute (<Code>htmlFor</Code> in React) refer to the
<Code>id</Code> of the input field:
attribute (<Code>htmlFor</Code> in React) refer to the <Code>id</Code> of
the input field:
</p>

<CodeSnippet>{`
Expand Down

0 comments on commit 5478b87

Please sign in to comment.