Skip to content

Commit 1448e9b

Browse files
committed
Add tooltip to Search button
1 parent a6f118a commit 1448e9b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/components/Search/SearchBar/index.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ const clearButtonLabel = hasInitialQuery ? 'Clear search' : 'Close search'
7979
data-search-toggle
8080
type="button"
8181
aria-label="Search"
82+
data-tooltip
83+
title="Search the Site"
8284
aria-expanded={isExpandedOnLoad ? 'true' : 'false'}
8385
data-state={isExpandedOnLoad ? 'open' : 'closed'}
8486
hidden={isExpandedOnLoad}

0 commit comments

Comments
 (0)