elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.76k stars 8.16k forks source link

[FOCUS]: Focus needs to be returned to the Full screen | Share | Clone | Edit button when the popover is closed #116178

Open 1Copenut opened 2 years ago

1Copenut commented 2 years ago

Steps to reproduce

  1. Open a Kibana instance
  2. Press the TAB key until the Full screen | Share | Clone | Edit button is highlighted. Press ENTER.
  3. Tab through the menu, then press ESC to close the menu
  4. Verify the body tag has keyboard focus
Screen Shot 2021-10-25 at 11 55 23 AM

Related Issue

Actual Result

Expected Result

Kibana Version: v8.0.0, v7.13.0

OS: MacOS Big Sur

Browser: Chrome latest

Relevant WCAG Criteria: Understanding Success Criterion 2.4.3: Focus Order - Level A

elasticmachine commented 2 years ago

Pinging @elastic/kibana-accessibility (Project:Accessibility)

elasticmachine commented 2 years ago

Pinging @elastic/kibana-core (Team:Core)

elasticmachine commented 2 years ago

Pinging @elastic/kibana-presentation (Team:Presentation)

pgayvallet commented 2 years ago

CC @elastic/kibana-presentation: even if these actions are living inside the chrome header, they are registered via the setHeaderActionMenu API of an app's mount function. Only the action's owner can add the proper logic to set the focus back to the button element when the associated menu is closed.

ThomThomson commented 1 year ago

Bumping this up to Medium and adding it to our a11y backlog.