Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autocomplete attribute, and its values #430

Open
ffoodd opened this issue Jan 3, 2022 · 1 comment
Open

autocomplete attribute, and its values #430

ffoodd opened this issue Jan 3, 2022 · 1 comment

Comments

@ffoodd
Copy link
Owner

ffoodd commented Jan 3, 2022

autocomplete inputs when possible is now required in WCAG 2.1 1.3.1 SC and RGAA 4.1 11.13 criteria, with a predefined set of values from HTML specs.

Two checks in my mind:

  • an error for invalid attribute values,
  • a warning for inputs without [autocomplete].
@PhilippeVay
Copy link
Contributor

HTML now allows for this https://html.spec.whatwg.org/multipage/forms.html#enabling-client-side-automatic-filling-of-form-controls
autocomplete="billing tel".

WCAG references HTML LS : https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofilling-form-controls:-the-autocomplete-attribute where some value examples have 3 parts.

The predefined part is always at the end so $= selector should be fine.

@ffoodd ffoodd moved this to To do in New tests Apr 26, 2023
@ffoodd ffoodd added this to New tests Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

2 participants