Open emmasax opened 5 days ago
@emmasax Using values like this isn't valid HTML. Since it sounds like this isn't necessarily about user data it would be better to remove autocomplete from the field.
The accessibility issue here seems minor. This rule tests a WCAG criterion which was intended to allow people to add custom styles, such as adding an icon to certain fields to allow people to more easily understand their purpose. Giving the field multiple values like this can result in multiple such styles being applied.
As far as I'm aware assistive technologies like this aren't widely available / used, so this is more a potential future problem than a real problem today. Still you're probably best removing the autocomplete attribute from that field.
Product
axe-core
Product Version
4.10.0
Latest Version
Issue Description
Expectation
Setting the value of
autocomplete
with a space separated list should pass the testsActual
Only a single value passes
How to Reproduce
Fail
Pass
Pass
Additional context
...accepts an individual's personal data