Related issues: A11y Filter Dialog
Current code (ProjectTree/index.tsx
):
- Current component: searchbox and groupedlist
- Tomorrow's component: Fabric's combobox
- Two parts: single line textbox & pop-up element for users to set the value
- Differs from a listbox; the value of combox is shown in an editable field (allows copy/pasting)
- Graphical button is optional (per our spec, we want the button)
- Arrow keys allow for navigation between partial matches in the pop-up element
- Enter selects value if autocomplete is enabled
- Escape closes the popup, and/or clears the textbox
aria-haspopup
(Container):"listbox"
will set behavior to have a popup of suggested valuesaria-expanded
(Container):true
/false
indicates whether the listbox is displayed or notaria-autocomplete="both"
(Textbox): will show autocomplete in input and suggest list of possible values in popuparia-activedescendant
(Textbox): (id ref) indicates which option has focusoption
(Listbox): all children of thelistbox
aria-selected
(Listbox): indicates which option is highlighted