Hi there,
We use the Turnstile widget, but it contains some accessibility issues. When the widget is set to invisible I can still use my keyboard to tab inside the widget. One of our websites was audited for accessibility (WCAG 2.1AA audit) and failed on this one area.
Someone who can’t use a mouse uses the keyboard to navigate. They use the tab key to jump from one interactive element to the next. Because the widget is still visible in the DOM, it can still be accessed. However, because nothing is visible the keyboard focus is not shown. Users have to tab through 4 links to leave the widget, but without any visual aspects, this is very confusing.
The fix is incredibly easy: As long as the widget is invisible, set it to display:none; in the CSS, so that it is excluded from the DOM. Please fix this, so that we can continue to use Turnstile. When this is fixed inside the widget, others won’t have this problem as well.