Added aria-label to default.hbs' search button

no issue
- Improve accessibility
- Improve SEO (by improving accessibility)
This commit is contained in:
Jose Garcia 2023-12-17 15:19:26 -05:00 committed by Sodbileg Gansukh
parent 4c6d33f3df
commit 7a790020cb

View File

@ -51,10 +51,10 @@
<div class="gh-head-actions">
{{#unless @site.members_enabled}}
{{^match @custom.navigation_layout "Stacked"}}
<button class="gh-search gh-icon-btn" data-ghost-search>{{> "icons/search"}}</button>
<button class="gh-search gh-icon-btn" aria-label="Search this site" data-ghost-search>{{> "icons/search"}}</button>
{{/match}}
{{else}}
<button class="gh-search gh-icon-btn" data-ghost-search>{{> "icons/search"}}</button>
<button class="gh-search gh-icon-btn" aria-label="Search this site" data-ghost-search>{{> "icons/search"}}</button>
<div class="gh-head-members">
{{#unless @member}}
{{#unless @site.members_invite_only}}