Skip to content

Commit

Permalink
Update README.mdx to fix aria-describedby (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
xplicitone committed Jul 25, 2023
1 parent f0370e9 commit 9912b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/02.accessibility/02.problem.aria/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ is no error, for example:
```tsx
<input
aria-invalid={hasErrors || undefined}
aria-invalid={hasErrors ? 'id' : undefined}
aria-describedby={hasErrors ? 'id' : undefined}
/>
```

Expand Down

0 comments on commit 9912b31

Please sign in to comment.