Add aria-autocomplete=none alongside autocomplete=off

Created on 20 July 2024, about 2 months ago
Updated 29 July 2024, about 1 month ago

Problem/Motivation

When editing a user account that isn't the current user, the MS Edge browser no longer adheres to the autocomplete="off" attribute added on forms, resulting in the browser autofilling.

Steps to reproduce

Have multiple user accounts on the site, "User A" and "User B".
Give User A the "administer users" permissions.
In MS Edge, log into the site as User A.
Open User B's edit form.

What should happen:
The username field is not autofilled with User A's username i.e. it says "User B".

What happens:
The username field is autofilled with "User A".

Proposed resolution

Update Form API so that any time it adds the "autocomplete" attribute and sets it to "off" it also adds the "aria-autocomplete" attribute and sets it to "none".

Remaining tasks

Work out the necessary changes.
Add test coverage.

User interface changes

Loading the user edit form in MS Edge does not autofill the current user's username into the username field.

API changes

TBD

Data model changes

TBD

Release notes snippet

TBD

πŸ› Bug report
Status

Needs work

Version

11.0 πŸ”₯

Component
FormΒ  β†’

Last updated less than a minute ago

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

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