red-hat-design-system icon indicating copy to clipboard operation
red-hat-design-system copied to clipboard

[bug] `rh-audio-player`: Keyboard focus not returned to "More options" button on menu close

Open hellogreg opened this issue 10 months ago • 0 comments

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:

  1. Go to the audio player demo page.

  2. Tab through the interactive elements until the "More options" menu button has focus. More options button with focus

  3. Open the menu (via space or enter). More options menu is expanded

  4. Close the menu via the escape key. Focus should be returned to the button, but currently is not. More options button has no visible focus on collapse

hellogreg avatar Apr 04 '24 19:04 hellogreg