diff --git a/app/javascript/v3/components/Form/Input.vue b/app/javascript/v3/components/Form/Input.vue
index b9e73387d..753157ab0 100644
--- a/app/javascript/v3/components/Form/Input.vue
+++ b/app/javascript/v3/components/Form/Input.vue
@@ -6,24 +6,29 @@
:has-error="hasError"
:error-message="errorMessage"
>
+
+
+
@@ -48,6 +53,10 @@ export default {
type: String,
default: 'text',
},
+ tabindex: {
+ type: Number,
+ default: undefined,
+ },
required: {
type: Boolean,
default: false,
diff --git a/app/javascript/v3/components/Form/WithLabel.vue b/app/javascript/v3/components/Form/WithLabel.vue
index d8c339a53..17bdeb202 100644
--- a/app/javascript/v3/components/Form/WithLabel.vue
+++ b/app/javascript/v3/components/Form/WithLabel.vue
@@ -9,6 +9,9 @@
{{ label }}
+
+ {{ label }}
+
diff --git a/app/javascript/v3/views/login/Index.vue b/app/javascript/v3/views/login/Index.vue
index d840c27a5..8be74e709 100644
--- a/app/javascript/v3/views/login/Index.vue
+++ b/app/javascript/v3/views/login/Index.vue
@@ -46,6 +46,7 @@
name="email_address"
type="text"
data-testid="email_input"
+ :tabindex="1"
required
:label="$t('LOGIN.EMAIL.LABEL')"
:placeholder="$t('LOGIN.EMAIL.PLACEHOLDER')"
@@ -58,19 +59,25 @@
name="password"
data-testid="password_input"
required
+ :tabindex="2"
:label="$t('LOGIN.PASSWORD.LABEL')"
:placeholder="$t('LOGIN.PASSWORD.PLACEHOLDER')"
:has-error="$v.credentials.password.$error"
@input="$v.credentials.password.$touch"
>
-
+
{{ $t('LOGIN.FORGOT_PASSWORD') }}