Closed owenatgov closed 3 weeks ago
Name | Link |
---|---|
Latest commit | f9cc8a481487806bd85c79aa839d84d04a5528b6 |
Latest deploy log | https://app.netlify.com/sites/govuk-design-system-preview/deploys/6721176c52b38e000726ad83 |
Deploy Preview | https://deploy-preview-4253--govuk-design-system-preview.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Something we missed in #4220. We control how the separator is displayed via 2 accessible autocompelte states:
aria-expanded="true"
, indicating it has resultsaria-expanded="false"
but also noaria-describedby
attribute, indicating that the 'no results' dialog is visibleThe 2nd state however is also true when a user has entered text into the input and clicked away, resulting in the border being visible when there's no dropdown:
This change uses
app-site-search__input--focused
as an additional hook for that state. We already do something similar for controlling the focus state of the input further down.