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 <patrick@iotaschool.com> * Shortened aria-label for search, added search role Made label instructing how to access search results less verbose Signed-off-by: Patrick Smyth <patrick@iotaschool.com> * Moved search role to form Signed-off-by: Patrick Smyth <patrick@iotaschool.com> * Changed aria label to include the word search After testing, we found it better to include the word search. Signed-off-by: Patrick Smyth <patrick@iotaschool.com> * Changed aria-live from polite to assertive Signed-off-by: Patrick Smyth <patrick@iotaschool.com> --------- Signed-off-by: Patrick Smyth <patrick@iotaschool.com>
- Loading branch information