Accessibility improvement
closed
Simon Leadbetter
Our new service focusses on Digital Accessibility and, as you can imagine, accessibility is very important to us. I have noticed the Cookie Script modal does not have a focus trap. Although the tabindex="0" attribute moves focus to the modal (when tabbing, but better if focus was automatically applied), if you continue to tab through the elements you eventually leave the modal panel.
Do you think you would consider adding a focus trap for improved a11y?
M
Michael
marked this post as
closed
M
Michael
Hello there,
Thank you for bringing this to our attention — accessibility is equally important to us as well.
We do have a built-in option that should resolve the issue you’re seeing. In the Banner Behavior section of the settings, you’ll find an option called “Keep focus inside Cookie Banner.”
Enabling this will activate a proper focus trap, ensuring keyboard focus remains within the modal until it is closed. This should address the accessibility concern you mentioned.
T
Thomas
marked this post as
in progress
T
Thomas
marked this post as
under review