Allow copying and pasting of data in a form field

Personal data needs to be secure. This includes any personal or private information, including bank account numbers, national identification numbers, or any complex data where accuracy is paramount.

If you prevent copying and pasting of, for example, a password, you force users to choose simple, easy-to-remember passwords. That is exactly what you want to avoid.

Copying and pasting from a password manager is a much easier and safer way for users to enter data. As explained by the UK National Cyber Security Centre in Top tips for staying secure online.

Resources

WCAG Success Criteria for accessible authentication

Other resources

Other pages in: Provide help

  • Autocomplete

    The HTML autocomplete attribute tells the browser what type of value is expected when filling out a form field.

  • Avoid input patterns

    Make it as easy as possible for users to enter a value.

  • Be flexible

    Be flexible in accepting the data a user fills out in a field.

  • Review, modify, undo

    Make sure users can review legal, financial, or personal information and correct it if needed.

  • Provide valid values

    Provide valid values for an input field in the description.

Back to: Provide help

Quick links and main topics

Disclaimer: This documentation is intended to help the WordPress community understand and implement accessible practices. It is not a replacement for the official Web Content Accessibility Guidelines. Please read the full disclaimer.

Back to top