Closed hazalarpalikli closed 3 days ago
Moving this to block, i'll pick this up when i am back.
We'll use the 'wild card meeting' on Thursday to review the search results designs, agree on solutions if possible and assess implementation timeline.
To do to ship:
Hypothesis
Improve the visuals of search results without relying on visually hidden text so we can help users who relies on screen readers make the distinction between search term vs the category.
Identified Problem
When searching for results within the autocomplete components, each result is presented with two key sets of information. The first line includes the item/string that has been searched for, which is followed by indicating what area of the GOV.UK Design System it resides under.
However, while this structure is useful in the event of multiple items having the same name but residing in different parts of the design system; the current programmatic presentation is not equivalently provided to screen reader users as it is visually. Currently each option will read as one line and the is no distinction between the search term and the category it belongs to. Visually this is obvious to users due to the information being provided on a separate line and in some instances with a chevron to indicate subcategories. However, none of this stylist information is provided to screen reader users.
Ticket for this work is https://github.com/alphagov/govuk-design-system/issues/4006
Previous tests
Owen has run testing against the comma solution he found the following:
Needed roles
Designer, content, frontend developer