From a06fe4695e7e4c09ea07540d3353cb05c36f1e37 Mon Sep 17 00:00:00 2001
From: Derick Montague
Date: Wed, 11 Mar 2020 13:48:42 -0500
Subject: Fix accessibility violations and use b-form-group
- Update authError to be set to false in order to hide the error
message when the user logs in. This is needed if the user name
or password are incorrect multiple times. If it is not hidden
between login attempts, the user will only be notified on the
first attempt.
- Use the b-form-group component for consistency.
- Add id attributes to the required field error messages so that
the error can be added to the input field's aria-describedby attribute
Signed-off-by: Derick Montague
Change-Id: I86902cc2c85b3bbf156c2920ec2031ee4dccd2ef
---
src/views/Login/Login.vue | 24 ++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)
(limited to 'src/views/Login/Login.vue')
diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue
index 2018720c..da96844a 100644
--- a/src/views/Login/Login.vue
+++ b/src/views/Login/Login.vue
@@ -21,44 +21,48 @@
{{ $t('pageLogin.alert.action') }}