-
Notifications
You must be signed in to change notification settings - Fork 881
autocomplete-valid (SC 1.3.5) triggers error for autocomplete="text" #4492
Description
Product
axe Extension
Product Version
No response
Latest Version
- I have tested the issue with the latest version of the product
Issue Description
Expectation
autocomplete="text" is not flagged as a violation of SC 1.3.5.
Actual
Axe Devtools flags <input class="form-text" id="term" name="term" type="text" aria-required="false" autocomplete="text" placeholder="Zoek op titel, trefwoord" value=""> as a WCAG violation.
How to Reproduce
Create a page with something like <input class="form-text" id="term" name="term" type="text" aria-required="false" autocomplete="text" value=""> (basically a generic search field) or go to Zoek een tool. Run Axe Devtools and notice that it reports the following issue: autocomplete attribute must be used correctly.
Additional context
While "text" is not among the values listed in the HTML specificiation, the field does not collect information about the user, so SC 1.3.5 is not even applicable.