Skip to content

Commit

Permalink
Remove live region from FormControl validation (#4711)
Browse files Browse the repository at this point in the history
* Remove `aria-live` from `Inputvalidation`

* Add changeset
  • Loading branch information
TylerJDev authored Jul 3, 2024
1 parent 71859ed commit 199e384
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/grumpy-masks-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

Removes live region from `FormControl` validation
1 change: 0 additions & 1 deletion packages/react/src/internal/components/InputValidation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ const InputValidation: React.FC<React.PropsWithChildren<Props>> = ({children, id
},
...sx,
}}
aria-live="polite"
>
{IconComponent && (
<Box as="span" alignItems="center" display="flex" minHeight={iconBoxMinHeight} mr={1} aria-hidden="true">
Expand Down

0 comments on commit 199e384

Please sign in to comment.