authorship icon indicating copy to clipboard operation
authorship copied to clipboard

Investigate accessibility issues of React Select

Open johnbillion opened this issue 5 years ago • 2 comments

Unfortunately we weren't able to use Reach UI Combobox as it doesn't support multiple selection.

Some cursory Googling tells us that React Select by default has some accessibility issues. These need to be tested, listed, and then investigated.

johnbillion avatar Dec 01 '20 09:12 johnbillion

It seems the a11y issues with React Select are quite pervasive. While it is fully keyboard accessible, its controls are not particularly intuitive and there are many ARIA issues relating to the <div> soup and mouse-first approach to its controls.

At this point I am considering switching to a component that treats accessibility as a first-class citizen instead of an after-thought, despite the work already put into implementing React Select.

Previously: #7

  • Downshift looks the most promising so far, it supports multiple selection and creation, but it does not provide rendering out of the box. Plenty of examples to use as a basis though.
  • Reach UI focuses on a11y but does not appear to support multiple selection.

johnbillion avatar Jan 29 '21 11:01 johnbillion

Mentioned by Thorsten is the built-in tag component in Gutenberg, FlatTermSelector. Needs looking in to.

johnbillion avatar Jan 29 '21 13:01 johnbillion