Problem/Motivation

Fields can't have an input purpose.

Documentation: https://www.w3.org/TR/WCAG21/#identify-input-purpose

Proposed resolution

Extend the field instance with a option to add or choose an input purpose with the result that an input field can autocomplete the needed value.

Remaining tasks

  1. Write a patch for Webform
  2. Write a patch for all Fields
  3. Review
  4. Write a test

User interface changes

  1. The field config in webform will be extended with new options.
  2. The field formatter will be extended with new options.

API changes

None

Data model changes

None

Release notes snippet

Todo

Comments

Tessa Bakker created an issue. See original summary.

Tess Bakker’s picture

Assigned: Unassigned » Tess Bakker

A plugin for adding autocomplete attributes to widgets is on its way.

  • 7b2721a committed on 8.x-1.x
    Issue #3071542 by Tessa Bakker: Plugin manager for Autocomplete...
Tess Bakker’s picture

Issue tags: +DrupalCon Amsterdam 2019
Tess Bakker’s picture

Component: Code » Autocomplete Attributes
Status: Active » Fixed
Related issues: +#3091377: Support Webform elements with autocomplete attributes options, +#3091380: Add various plugins for Autocomplete Attributes

Closing issue in favor of new issues.

rachel_norfolk’s picture

Issue tags: -DrupalCon Amsterdam 2019 +Amsterdam2019

retagging

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.