volto icon indicating copy to clipboard operation
volto copied to clipboard

Block chooser search is not focusable when clicked on add button.

Open iRohitSingh opened this issue 2 years ago • 1 comments

Screenshot 2024-03-11 at 8 29 08 PM

iRohitSingh avatar Mar 11 '24 15:03 iRohitSingh

Things I'd like to see from the solution for this:

  • Focus is moved to within the block chooser after pressing the button. The search input at the top feels sensible (as was implemented by the original fix for this issue)
  • Focus gets trapped within the block chooser until the chooser is closed
  • There is an explicit button to close the block chooser that can be reached via keyboard (tab and screen reader)
  • The button exposes an open/ closed state
  • The picker can be closed via the escape key and focus returned to the button

JeffersonBledsoe avatar Oct 11 '24 12:10 JeffersonBledsoe