Improve keyboard navigation for disabled suggestion button with tooltip message
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
The following discussion from !33357 (merged) should be addressed:
-
@markrian started a discussion: (+1 comment) thought: I understand this wrapper element is necessary for the case that the button is disabled.
When the button is not disabled, however, this wrapper element makes the keyboard navigation awkward, since you first tab to the wrapper element, then to the button:
The only way I can think of to handle this is to conditionally wrap the button based on whether it's disabled or not, but that would mean duplicating the button markup in the template, which isn't great.
I don't really have a suggestion here, just wanted to let you know in case you have an idea
🤷