TextButton & IconButton - remove hover, pressed and focus state for loading buttons #631
Labels
⭕ core team issue
This is for the core team and should not be done by contributors
⌨️ dev issue
Task is for developers
🎓 junior issue
Good for juniors
🚨 new::bug
Something isn't working
Milestone
Step-by-Step Guide to reproduce
Bug Description / False Behaviour
The buttons have a hover, pressed and focus state when loading is true.
Correct Behaviour
The buttons do not have a hover, pressed and focus state when loading is true. We have to also make clear for screen readers that the button is not clickable in the loading state.
We might even have to add a separate aria label for loading state, but this should be verified first. There is i.e. a area-busy attribute.
Testing
Add a test for the click-event not to fire in loading and disable state.
Background
The text was updated successfully, but these errors were encountered: