Accessibility · Senior · Question 73 of 75
How should you decide between hiding and disabling a control a user can't use?
- 1Show it with an explanation if knowing about it helps
- 2Always remove it, as disabled controls fail the WCAG
- 3Always show it as a plain text label with no action
Show the answer
Correct answer: Show it with an explanation if knowing about it helps
Explanation
An unexplained disabled button is a dead end, especially when it's out of the Tab order. aria-disabled plus a reason often works best.