Skip to content

Commit 19205f7

Browse files
committed
fix: add aria-live='polite' to NewFileForm field error
1 parent 0fb30b2 commit 19205f7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

client/modules/IDE/components/NewFileForm.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ function NewFileForm() {
6464
</Field>
6565
</div>
6666
{touched.submitButton && errors.name && (
67-
<span className="form-error">{errors.name}</span>
67+
<span className="form-error" aria-live="polite">
68+
{errors.name}
69+
</span>
6870
)}
6971
</form>
7072
)}

0 commit comments

Comments
 (0)