mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 02:23:19 -04:00
Change live-search so it announces results
If there is a search term when the page loads, a statement about the results is added to the searchbox label. All subsequent searches are announced via an aria live-region.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
"label": {"text": search_label},
|
||||
"autocomplete": "off"
|
||||
}) }}
|
||||
<div role="region" aria-live="polite" class="live-search__status govuk-visually-hidden"></div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user