We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff60c34 commit 0fb30b2Copy full SHA for 0fb30b2
1 file changed
client/modules/User/components/CollectionCreate.jsx
@@ -37,7 +37,7 @@ const CollectionCreate = () => {
37
<div className="sketches-table-container">
38
<form className="form" onSubmit={handleCreateCollection}>
39
{creationError && (
40
- <span className="form-error">
+ <span className="form-error" aria-live="assertive">
41
{t('CollectionCreate.FormError')}
42
</span>
43
)}
@@ -55,7 +55,7 @@ const CollectionCreate = () => {
55
onChange={(e) => setName(e.target.value)}
56
/>
57
{invalid && (
58
+ <span className="form-error" aria-live="polite">
59
{t('CollectionCreate.NameRequired')}
60
61
0 commit comments