Accessible attribute buggy when using more than 3+ instances

Using accessible modal. (JS version)
Its ok for 3 instances but after that it breaks. I’m making sure I have the instances number for each button and modal correct.
It works fine and all of sudden breaks on all instances (even those that were working).
There’s no pattern to the errors.

When they break they can open but esc. won’t close them, you can’t open them with enter key. Focus with keyboard settings can be applied to random instances instead of all of them.

I can’t share read only due to NDA

Hello @danielcobb, could you please share the steps to reproduce this error so we can try and recreate it on our end

Hi Joseph - I’ve ended up using another solution for this. Thanks anyway.

NO worries. Cheers :muscle: