Screenshot showing selected items
Screenshot showing autocomplete
Screenshot showing keyboard interaction

Summary

Provides a Render element that extends from a Select field and automatically converts it to use the Accessible Autocomplete library.

Installation

  • Download as per normal
  • Install Accessible Autocomplete either:
    • Using npm into the folder above your Drupal installation. npm i -S @drupal/autocomplete. The library should exist at /path/to/drupal/../node_modules/@drupal/autocomplete
    • Manually, and extracting to /libraries/a11y_autocomplete inside your Drupal installation.
  • Enable the module as usual
  • Select it as a widget for field UI fields, or if you're a developer, use the new '#type' => 'a11y_autocomplete' anywhere you'd use '#type' => 'select'

Known issues

Please use the issue queue to report any issues.

Credits

Written by Lee Rowlands for a client of PreviousNext

Supporting organizations: 
Development
Sponsorship

Project information

Releases