diff --git a/.eslintignore b/.eslintignore index 69d9ce171..70c6bda91 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,5 +1,4 @@ node_modules build .nuxt -cypress/ styleguide/ diff --git a/pages/login.vue b/pages/login.vue index 1a0a268ab..e66ad2fef 100644 --- a/pages/login.vue +++ b/pages/login.vue @@ -44,6 +44,7 @@ :disabled="pending" placeholder="Deine E-Mail" type="email" + name="email" icon="envelope" /> Anmelden diff --git a/styleguide/src/system/components/data-input/Input/Input.vue b/styleguide/src/system/components/data-input/Input/Input.vue index a955dd0f4..4925547df 100644 --- a/styleguide/src/system/components/data-input/Input/Input.vue +++ b/styleguide/src/system/components/data-input/Input/Input.vue @@ -63,6 +63,13 @@ export default { type: String, default: null }, + /** + * The name of the field for better accessibility + */ + name: { + type: String, + default: null + }, /** * Whether the input should be automatically focused */ diff --git a/styleguide/src/system/components/navigation/Button/Button.vue b/styleguide/src/system/components/navigation/Button/Button.vue index 208e3269d..d806a9d6e 100644 --- a/styleguide/src/system/components/navigation/Button/Button.vue +++ b/styleguide/src/system/components/navigation/Button/Button.vue @@ -13,6 +13,7 @@ fullWidth && `ds-button-full-width`, loading && `ds-button-loading` ]" + :name="name" v-bind="bindings" :is="linkTag">