EN, Change language
English
UK-037

People can paste into password and other fields, so password managers work (WCAG 3.3.8; Design System, Password input).

GOV.UK Design System · Every UK public sector website

Why it matters to users

Password managers and copy and paste help people with memory or motor impairments sign in. Blocking paste pushes them to weaker passwords or locks them out.

How to fix it

Remove the onpaste and oncopy handlers that block these actions, and use the Password input component for password fields. Then scan again.

How we measure it

Fields with an inline paste or copy handler that blocks the action. Handlers added by script are not visible to the scan. Partly measured: we measure what the public pages show of this rule; the rest needs a review.

Its official source

Related rules

Pasting into fields allowed · UK-037 | xfix