Skip to content

autocomplete attribute, and its values #430

Open

Description

@ffoodd

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].

Activity

  1. PhilippeVay commented on Nov 7, 2022

    @PhilippeVay
    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.

  2. moved this to To do in New testson Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions