red-hat-design-system
red-hat-design-system copied to clipboard
[bug] `rh-audio-player`: Keyboard focus not returned to "More options" button on menu close
Currently, when the audio player's "More options" menu is opened and closed via keyboard, focus doesn't return to the menu button. It did do so at the time of launch (verified in the original deploy preview), so something has changed since then.
Not sure if this is affecting any other elements in the system.
Issue occurs in all tested desktop browsers.
To reproduce:
-
Go to the audio player demo page.
-
Tab through the interactive elements until the "More options" menu button has focus.
-
Open the menu (via space or enter).
-
Close the menu via the escape key. Focus should be returned to the button, but currently is not.