react-hook-form / devtools

📋 DevTools to help debug forms.
https://react-hook-form.com/dev-tools
MIT License
643 stars 47 forks source link

Elements inside the DevTools shouldn't be focusable when the DevTools are closed #198

Open sdelpuerto-intelygenz opened 1 year ago

sdelpuerto-intelygenz commented 1 year ago

Currently if you try to cycle the focus through all the elements in the page, for a while it seems like nothing is happening. In reality, what's happening is all the elements inside the DevTools are getting focused even though they're not visible.

Obviously this component is not meant to ever be seen by end users, but it's really annoying to test accessibility during development when this component is mounted.