Using a screen reader, when Filter button is activated, it says "Current". This doesn't appear to fit the Filter button's behavior.
When the filter button is selected, we display the filter options. It is acting like a disclosure. In this case, the filter should have an expanded and collapsed state. When it is expanded, the next element where the screen reader focus should fall on is the heading "Suggested Priority", and so on.
Screenshot
Acceptance Criteria
[ ] use <aria-expanded> on Filter button
[ ] When the Filter is expanded, the next focus (screenreader) should be the items in the Filter options
[ ] When the Filter option is dismissed, focus stays on the Filter button.
Description
Using a screen reader, when Filter button is activated, it says "Current". This doesn't appear to fit the Filter button's behavior.
When the filter button is selected, we display the filter options. It is acting like a disclosure. In this case, the filter should have an expanded and collapsed state. When it is expanded, the next element where the screen reader focus should fall on is the heading "Suggested Priority", and so on.
Screenshot
Acceptance Criteria
<aria-expanded>
on Filter button