Added aria-label to search button (#896)

This commit is contained in:
Lucas 2022-10-31 05:01:42 -03:00 committed by GitHub
parent c7713df88f
commit 38426cd9e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@
{{/if}} {{/if}}
</a> </a>
<div class="gh-head-brand-wrapper"> <div class="gh-head-brand-wrapper">
<button class="gh-search" data-ghost-search>{{> "icons/search"}}</button> <button class="gh-search" aria-label="Search this site" data-ghost-search>{{> "icons/search"}}</button>
<a class="gh-burger" role="button"> <a class="gh-burger" role="button">
<div class="gh-burger-box"> <div class="gh-burger-box">
<div class="gh-burger-inner"></div> <div class="gh-burger-inner"></div>
@ -45,7 +45,7 @@
{{navigation}} {{navigation}}
</div> </div>
<div class="gh-head-actions"> <div class="gh-head-actions">
<button class="gh-search" data-ghost-search>{{> "icons/search"}}</button> <button class="gh-search" aria-label="Search this site" data-ghost-search>{{> "icons/search"}}</button>
<div class="gh-social"> <div class="gh-social">
{{#if @site.facebook}} {{#if @site.facebook}}
<a class="gh-social-link gh-social-facebook" href="{{facebook_url @site.facebook}}" title="Facebook" target="_blank" rel="me noopener">{{> "icons/facebook"}}</a> <a class="gh-social-link gh-social-facebook" href="{{facebook_url @site.facebook}}" title="Facebook" target="_blank" rel="me noopener">{{> "icons/facebook"}}</a>