aria-live login modal alerts
This commit is contained in:
parent
8deabad47b
commit
a82052714d
@ -30,7 +30,7 @@
|
|||||||
v-model="loginPassword" required />
|
v-model="loginPassword" required />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div role="alert" v-if="error" class="form__group alert">{{ error }}</div>
|
<div v-if="error" role="alert" aria-live="assertive" class="form__group alert">{{ error }}</div>
|
||||||
|
|
||||||
<div class="form__group">
|
<div class="form__group">
|
||||||
<button type="submit" :disabled="submitting">{{ loginSubmit }}</button>
|
<button type="submit" :disabled="submitting">{{ loginSubmit }}</button>
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
<input id="register-code" type="text" name="code" v-model="valueCode" required />
|
<input id="register-code" type="text" name="code" v-model="valueCode" required />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div role="alert" v-if="error" class="form__group alert">{{ error }}</div>
|
<div v-if="error" role="alert" aria-live="assertive" class="form__group alert">{{ error }}</div>
|
||||||
|
|
||||||
<div class="form__group">
|
<div class="form__group">
|
||||||
<button type="submit" :disabled="submitting">{{ messageSubmit }}</button>
|
<button type="submit" :disabled="submitting">{{ messageSubmit }}</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user