@kopper I think it's worth looking into the modern Popover API for what you're doing: developer.mozilla.org/en-US/docs/Web/API/Popover_API You would basically need to turn your links into buttons so you can use the popovertarget attribute. I'm not sure how this interacts with the accessibility tree, though.