05 / 18

Principle 05

Unavailable stays visible

An option that cannot be used right now stays where it is, looks unavailable, and says why. Removing it makes people hunt for something that used to be there; disabling it without a reason leaves them stuck.

In a real interface

✕ Avoid

✓ Do

Add a payment method to export

01

Why

NN/g advises to "gray out any unavailable options instead of removing them", so the layout stays stable and learnable, and suggests a short message explaining why the option is disabled and how to make it active.

Vitaly Friedman draws the line clearly: disable what users should know exists, hide only what they will never be allowed to use, and always explain the reason.

Axess Lab lists the cost of an unexplained disabled button: people try to click it, it often has poor contrast, and it gives no clue about what went wrong.

02

How to apply it

Write the reason next to the control, not only in a tooltip: "Add a card to continue", "Available on Pro". For forms, Axess Lab recommends keeping the submit button enabled and showing what is missing when it is pressed.

03

Edge cases

WCAG exempts disabled controls from contrast rules, but exempt is not readable. Keep the label legible, and mark the state in code with disabled or aria-disabled so screen readers announce it.

✓ Do

  • Keep the option in place and dimmed
  • Write why it is unavailable
  • Say how to make it available
  • Expose the state to assistive tech

✕ Avoid

  • Remove options that come and go
  • Disable submit without saying what is missing
  • Fade the label until it is unreadable
  • Hide the reason only on hover

For agents · PRINCIPLE.md

## Unavailable stays visible

 

- Keep unavailable options on screen, disabled, with the reason written next to them.

- The reason says what unlocks it: "Add a payment method to export".

- Disabled controls still need 3:1 contrast for their outline to be found.

- Never hide an option only because the current user cannot use it yet.

Enforced byBADESIGN hover, focus, pressed and disabled stateskero-audit control contrast, 3:1 under WCAG 1.4.11