Skip to content

'No Search Results' is read out before any user input has occured #395

Open
@alexnewmannn

Description

@alexnewmannn

You can see this issue on the examples page using the custom templates input - https://alphagov.github.io/accessible-autocomplete/examples/#tt-customTemplates

  1. Turn voiceover on
  2. select the custom template input
  3. wait for the screen reader to read the label out
  4. Observe 'No Search Results' being read out

Below is a slow gif of the issue
relationship-no-results-found

This seems to be inconsistent, some examples don't show this behaviour, some instead read out 'Enter 2 characters or more to get results' - but both of these seem to use different localisation strings as one uses tStatusNoResults and one uses tStatusQueryTooShort

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilityinvestigation🕔 hoursA well understood issue which we expect to take less than a day to resolve.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions