Skip to content

Commit

Permalink
feat: add alert on error
Browse files Browse the repository at this point in the history
  • Loading branch information
ngunner15 committed Dec 18, 2024
1 parent 520d0b8 commit ffec473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/InputErrorText/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface InputErrorProps {
const InputErrorText = ({
description
}: InputErrorProps) => (
<div className="input-error-text-component">
<div role="alert" aria-live="polite" className="input-error-text-component">
<ErrorOutline />
<p>{description}</p>
</div>
Expand Down

0 comments on commit ffec473

Please sign in to comment.