Skip to content

Adding links to combobox options #1031

Answered by SiTaggart
vankhoawin asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @vnguyen94

Yes, a Combobox is absolutely the correct component to use. It's all about the implementation, which considering the fidelity of the docs right now, is probably going to trip folks up.

For the Paste search, we are restricted by the Algolia plan we're on (free), that we have to use their JavaScript to power it. The means we can't use our Combobox. That being said, their JavaScript turns our Input into a Combobox by decorating our Input with ARIA and keyboard interactions for the Listbox, just a slightly different implementation of one.

For a Combobox to be accessible, the selection of an option should trigger the resultant action. That action can be simply setting the value o…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vankhoawin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants