Skip to content

Commit 7a79002

Browse files
Tauromachianminimaluminium
authored andcommitted
Added aria-label to default.hbs' search button
no issue - Improve accessibility - Improve SEO (by improving accessibility)
1 parent 4c6d33f commit 7a79002

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

default.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@
5151
<div class="gh-head-actions">
5252
{{#unless @site.members_enabled}}
5353
{{^match @custom.navigation_layout "Stacked"}}
54-
<button class="gh-search gh-icon-btn" data-ghost-search>{{> "icons/search"}}</button>
54+
<button class="gh-search gh-icon-btn" aria-label="Search this site" data-ghost-search>{{> "icons/search"}}</button>
5555
{{/match}}
5656
{{else}}
57-
<button class="gh-search gh-icon-btn" data-ghost-search>{{> "icons/search"}}</button>
57+
<button class="gh-search gh-icon-btn" aria-label="Search this site" data-ghost-search>{{> "icons/search"}}</button>
5858
<div class="gh-head-members">
5959
{{#unless @member}}
6060
{{#unless @site.members_invite_only}}

0 commit comments

Comments
 (0)