Decision Do not use placeholder text in form fields

accepted

Placeholder text introduces significant usability and accessibility issues and should be avoided.

Decision

Use placeholder text in fields as little as possible, favoring static field labels and help text.

Common issues with placeholders include:

  • Insufficent contrast between the placeholder and the text field.
  • Issues perceiving the placeholder as it vanishes when content is entered.
  • Poor display for users browsing with Windows High Contrast Mode.

For in-depth explanations, see the following resources:

Consequences

Forms will be more usable for a variety of users. Designers and developers will need to remember not to use placeholder settings in form designs, when configuring Drupal fields, or developing custom forms.