Skip to content

Commit 199e384

Browse files
authored
Remove live region from FormControl validation (#4711)
* Remove `aria-live` from `Inputvalidation` * Add changeset
1 parent 71859ed commit 199e384

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.changeset/grumpy-masks-relax.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/react': patch
3+
---
4+
5+
Removes live region from `FormControl` validation

packages/react/src/internal/components/InputValidation.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ const InputValidation: React.FC<React.PropsWithChildren<Props>> = ({children, id
4848
},
4949
...sx,
5050
}}
51-
aria-live="polite"
5251
>
5352
{IconComponent && (
5453
<Box as="span" alignItems="center" display="flex" minHeight={iconBoxMinHeight} mr={1} aria-hidden="true">

0 commit comments

Comments
 (0)