Show password input (experimental) component – Component Guide

Component

Show password input (experimental)

A password input field that allows the password to be shown.

Adds a password reveal button to an input that toggles its type from password to text, revealing the password. Does not appear if JavaScript is disabled.

Uses a visually hidden bit of text to inform screen reader users of the state of the input rather than announcing the content of the password input when toggled.

This component is currently experimental. If you are using it, please feed back any research findings to the Accounts team.

Search for usage [...]

Read article at components.publishing.service.gov.uk

Article Taxonomies

Categories: Terms: , , , , ,