focus-trap icon indicating copy to clipboard operation
focus-trap copied to clipboard

Include parent focus-trap element in trap

Open AnselmHa opened this issue 5 months ago • 5 comments

Hi there, great job. I have a usecase that is maybe more common than known. I want to include the parent container to be included in the trap. So after the last element it would be good to have a config to enable to select the parent container. This is a request from business as they want that the dialog to be read by screen readers, so the user wiuth screen readers can again listen to the dialog text within the trap. I have solved it with a workaround, so no hurry. thx in advance.

AnselmHa avatar Aug 29 '24 07:08 AnselmHa