Hello everyone,
I was trying to figure out how to turn off autocomplete so the names/ email address, and phone numbers entered into a form are not saved to user's browser upon entering data.
Although autocomplete="off for all of the fields it looks like modern browsers are using aria-autocomplete="none" aria-autocomplete - Accessibility | MDN (mozilla.org).
I have tested changing the attribute manually to have this off and it does turn off autocomplete. I guess my question is can I add javascript when the form loads to set the aria-autocomplete property to none for all fields and if so how?

Report
All responses (
Answers (