mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2024-11-10 02:28:02 +00:00
Added aria-label to default.hbs' search button
no issue - Improve accessibility - Improve SEO (by improving accessibility)
This commit is contained in:
parent
4c6d33f3df
commit
7a790020cb
@ -51,10 +51,10 @@
|
|||||||
<div class="gh-head-actions">
|
<div class="gh-head-actions">
|
||||||
{{#unless @site.members_enabled}}
|
{{#unless @site.members_enabled}}
|
||||||
{{^match @custom.navigation_layout "Stacked"}}
|
{{^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}}
|
{{/match}}
|
||||||
{{else}}
|
{{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">
|
<div class="gh-head-members">
|
||||||
{{#unless @member}}
|
{{#unless @member}}
|
||||||
{{#unless @site.members_invite_only}}
|
{{#unless @site.members_invite_only}}
|
||||||
|
Loading…
Reference in New Issue
Block a user