Honeypot field accessible via keyboard, potential solution
-
Hey. Thank you for sharing this great form builder with the community. I really appreciate the quality of the code.
I’ve noticed a small issue, causing a potential accessibility alert.
The basic honeypot field, is “hidden” by being pulled out of the viewport and thus not shown. However, it’s still accessible via keyboard, so tabbing through the form, you’ll notice that the focus “disappears” between the last field and the submit button..
There is an easy fix for that. You can add a negative tabindex to the field, removing it from the tabbing order. Sample screenshot: https://snipboard.io/X4HDLw.jpg
Info on tabindex: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex
Are you able to reproduce this?
Kind regards
BjarneThe page I need help with: [log in to see the link]
- The topic ‘Honeypot field accessible via keyboard, potential solution’ is closed to new replies.