I have a Filter component in my app. It is a list of buttons out of which only one is selectable at a time. Once a filter is selected it changes/filters the content in a single panel. What accessibility practices should i make use of in this case to make it more accessible?
It is a very common use case but doesn't seem to fit in directly with any patterns explained in the WAI ARIA examples. The functionality for the filter, according to me, can fall into one of these patterns:
- Tabs, but each tab does not have a separate panel which gets hidden/shown on tab selection, rather just a single panel where content changes dynamically.
- Radio Group with Radio buttons, which controls another DOM element.
- Select functionality but the style is such that all options are visible at the same time, and the select controls another DOM element.
Any pointers or examples?