w3c / aria-practices

WAI-ARIA Authoring Practices Guide (APG)
https://www.w3.org/wai/aria/apg/
Other
1.2k stars 332 forks source link

Add multiselect combobox example with tokens #1512

Open smhigley opened 4 years ago

smhigley commented 4 years ago

Related to this ARIA issue: https://github.com/w3c/aria/issues/689

As discussed in the 9/3/2020 ARIA meeting, it would be helpful to have an APG example of a multiselect combobox that implements tokens for selected items.

One possible example would be a combobox for adding people to an email "To" line.

refs: https://openui5.hana.ondemand.com/#/entity/sap.m.MultiInput/sample/sap.m.sample.MultiInputMaxTokens https://joshuajohnson.co.uk/Choices/ https://developer.apple.com/design/human-interface-guidelines/macos/fields-and-labels/token-fields/

brennanyoung commented 2 years ago

FWIW tokens are implemented in an APG example (2) here https://w3c.github.io/aria-practices/examples/grid/LayoutGrids.html

Would be good if the combobox example is consistent with this one. (But why are they using tabindex="0" on an <a> ???)