Tabindex on captcha elements


(Ryan Archer) #1

Just wondering if there is a way to set tabindex on captcha and recaptcha elements within custom forms using the Squiz Matrix interface? Just like how easy it is to assign tabindex to input fields, option lists and the like. Certainly would make life easier for us as we create so many forms and also do wonders for accessibility compliance.

 

Whilst I am at it, is there a way we can generate submit/reset buttons using the interface instead of hand-coding them in as keyword replacements - so again we can easily add a tabindex to the form element?


(Bart Banda) #2

If you are focusing on accessibility, you should probably not use captcha fields at all as they are bad for screen reader users and accessibility in general. I don't think there is a way though regardless using the admin UI without doing a keyword replacement on the form keywords or adding it via JS (preferred). 

 

Instead of captcha, could you not use something like a honeypot field with a combination of a minimum time delay for spam protection?