Skip to content

Commit

Permalink
fix(SDK-2864): accessibility validation error role msg
Browse files Browse the repository at this point in the history
  • Loading branch information
zoeradkani committed Mar 15, 2024
1 parent 5a8273f commit dfd290a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react/src/components/validation/validation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const Validation = withRef(function Validation(
{...restProps}
ref={ref}
className={classy(c('validation'), m(state), className)}
role="alert"
>
{withIcon && <Icon name="error" aria-hidden="true" />}
{children}
Expand Down

0 comments on commit dfd290a

Please sign in to comment.