Change autocomplete attribute to 'one-time-code'

Created on 21 June 2024, 5 months ago
Updated 22 June 2024, 5 months ago

Problem/Motivation

The autocomplete attribute should be added with the value of 'one-time-code' for the user to improve accessibility and UX.
See also; https://www.drupal.org/project/drupal/issues/3181647 Add autocomplete attributes on login form and password reset form Fixed , https://www.drupal.org/project/tfa/issues/3456229 Change autocomplete attribute to 'one-time-code' Needs work
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete

We recently got this as feedback in an accessibility report, it will help screenreaders better understand the purpose of the inputs. (WCAG 1.3.5)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇳🇱Netherlands nvandijk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024