Open alicewriteswrongs opened 2 years ago
I'm un-assigning myself, but I did start some exploratory work on this on this branch: https://github.com/mitodl/ocw-hugo-themes/compare/ap/topic-widget so that could form the basis for resolving these issues. The main concerns are:
<button>
and no <div onclick=
fake buttonsthere are also probably some visual design accessibility things we should be concerned with here too, contrast and so on.
This one needs a lot of work. This is, I think, what we need:
aria-live
region which announces that the filtering action has happenedI think we can do something like the following:
This provides a listbox that the user can tab into, but once they're in there it's up and down arrow keys to navigate. We should investigate how to package together the filter searchbox with this sort of list UI. If each filter set requires two tab pushes to get through that might be acceptable (i.e. one to get to the filter, and then another to get to this list).