⚠️ A tooltip on a disabled button isn’t accessible


⚠️ A tooltip on a disabled button isn’t accessible.

It can’t be accessed via a screen reader.

It can’t be triggered by a keyboard user.

And often the tooltip can’t be triggered via touch devices.

Solution: Avoid disabling buttons. Prefer providing feedback on click instead.
I totally forgot to mention aria-disabled which is a great accessible alternative to disabled.

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-disabled

View original on X