Open halocline opened 4 weeks ago
Thanks @halocline. Among all the WCAG documentation in their site, I found this direct reference regarding the focus behaviour in modals (see third example).
The trapFocus
prop can be passed to Layer but we don't have that documented on Grommet site
Link to problem
https://design-system.hpe.design/components/layer
Current problem
When a layer of type modal is opened, the focus should be trapped within that layer. Currently, when tabbing through the layer the focus within the Grommet app is trapped, but continued tabbing allows focus to go to other browser tabs, global header, etc.
Expected behavior or solution
Screenshot or recording of problem
No response
Steps to reproduce
No response