Skip to content

Commit

Permalink
Update packages/react/src/internal/components/InputLabel.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Rohan <[email protected]>
  • Loading branch information
joshblack and jonrohan authored Dec 3, 2024
1 parent 56d9da2 commit dbd9e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/internal/components/InputLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function InputLabel({
>
{required || requiredText ? (
<StyledRequiredText>
<div>{children}</div>
<span>{children}</span>
<span aria-hidden={requiredIndicator ? undefined : true}>{requiredText ?? '*'}</span>
</StyledRequiredText>
) : (
Expand Down

0 comments on commit dbd9e32

Please sign in to comment.