Select2 doesn't support a11y attributes

Description

The dropdown a11y attributes on Select2 are not implemented.

Environment

None

QA Kickoff Check-In

Usage described in documentation
Demonstration of all states
Interactive state (screen readers)
Visual regression tests
Unit tests
Navigation (only keyboard / only mouse)
Component render legibly

QA Demo Check-Out

P2 plugin
Browsers (Edge/IE11/Firefox/Chrome/Safari)
Resizing
Zoom in/out
Navigation (Keyboard/Mouse)
Focus
Element status (At Rest/Pressed/Selected/Read Only/Disabled)
Cursors
Tooltips
Audio

Activity

Show:
Chris "Daz" Darroch
August 13, 2020, 10:11 AM
Edited

We’re aware that the version of Select2 bundled in AUI is old and in need of updating. There are two potential avenues: we upgrade to Select2 v4 (recorded as AUI-5054), or we upgrade to SelectWoo (recorded as AUI-4652).

There are difficulties with any upgrade option here. It may be possible to bundle one of these two alongside the current implementation, in order to allow users to incrementally migrate to the new version.

There are bound to be clashes – e.g., AUI exposes the Select2 lib via a jQuery(…).auiSelect2() wrapper; what would the new wrapper be called? AUI also exposes the lib in a com.atlassian.auiplugin:aui-select2 web-resource key… what should the new one be called?

There will also be differences in configuration between the two versions. How do we make these differences apparent to developers through our documentation, and how can we assist people migrating from the old to the new?

Addressing these difficulties will yield complexity and potentially larger page weights in the medium term wherever the old and new implementations are used simultaneously.

Assignee

Unassigned

Reporter

Maxim Leizerovich

Labels

Changelog entry text

None

Needs Doc

None

Epic Link

Components

Fix versions

Affects versions

Priority

Major
Configure