Skip to content

Commit fa461f6

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

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

client/modules/IDE/components/NewFolderForm.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ function NewFolderForm() {
6161
</Field>
6262
</div>
6363
{touched.submitButton && errors.name && (
64-
<span className="form-error">{errors.name}</span>
64+
<span className="form-error" aria-live="polite">
65+
{errors.name}
66+
</span>
6567
)}
6668
</form>
6769
)}

0 commit comments

Comments
 (0)