Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make search bar and results more accessible (#255)
* Make search bar and results more accessible Added information on how to navigate to results in the aria-label attribute on the search bar Added a new field to English internationalization with instructions on how to navigate to search results. This field will appear via the aria-label to screen reader users. Added an enclosing div informing screen readers to update when the search results populate. Signed-off-by: Patrick Smyth <[email protected]> * Shortened aria-label for search, added search role Made label instructing how to access search results less verbose Signed-off-by: Patrick Smyth <[email protected]> * Moved search role to form Signed-off-by: Patrick Smyth <[email protected]> * Changed aria label to include the word search After testing, we found it better to include the word search. Signed-off-by: Patrick Smyth <[email protected]> * Changed aria-live from polite to assertive Signed-off-by: Patrick Smyth <[email protected]> --------- Signed-off-by: Patrick Smyth <[email protected]>
- Loading branch information