IsometriksSpamBundle icon indicating copy to clipboard operation
IsometriksSpamBundle copied to clipboard

Add autocomplete, tabindex, and aria attributes to the honeypot field

Open junowilderness opened this issue 4 years ago • 5 comments

This merge provides to accessibility/UX improvements:

  • Add attribute tabindex="-1" to the honeypot field so that users navigating with the tab key won't stop on the field.

A negative value (usually tabindex="-1") means that the element is not reachable via sequential keyboard navigation, but could be focused with Javascript or visually by clicking with the mouse.

As website author, you might prefer that the browser not remember the values for such fields, even if the browser's autocomplete feature is enabled.

  • Set the ARIA labels necessary for assistive technologies to recognize the field and to ignore it.

junowilderness avatar Sep 11 '20 21:09 junowilderness

@maelanleborgne do you have merge permissions? You can feel free to merge these if you think it's okay, I don't really have time to maintain this.

isometriks avatar Nov 02 '23 17:11 isometriks

@maelanleborgne do you have merge permissions? You can feel free to merge these if you think it's okay, I don't really have time to maintain this.

Yes I will merge these once the CI is running.

maelanleborgne avatar Nov 02 '23 17:11 maelanleborgne