Skip to content

a11y: update search bar to use search element#148

Merged
carylwyatt merged 2 commits into
mainfrom
a11y-search-element
Jun 5, 2026
Merged

a11y: update search bar to use search element#148
carylwyatt merged 2 commits into
mainfrom
a11y-search-element

Conversation

@carylwyatt

@carylwyatt carylwyatt commented Jun 5, 2026

Copy link
Copy Markdown
Member

The <search> element became baseline widely-available in April. SiteImprov had an annoying error that the elements beneath the search bar (search hint, search help and advanced search links) were not included in a landmark region. Making the entire search bar a <search> element will clear up that error and benefit screenreader users.

@carylwyatt carylwyatt requested a review from eumalin June 5, 2026 20:12
Comment thread src/js/components/SearchBar/index.svelte Outdated
@carylwyatt carylwyatt merged commit c58b11b into main Jun 5, 2026
5 checks passed
@carylwyatt carylwyatt deleted the a11y-search-element branch June 5, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants