The dropdown a11y attributes on Select2 are not implemented.
Usage described in documentation
Demonstration of all states
Interactive state (screen readers)
Visual regression tests
Navigation (only keyboard / only mouse)
Component render legibly
Element status (At Rest/Pressed/Selected/Read Only/Disabled)
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.