Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(accessibility): fix missing alt for img #295

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _i18n/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ generic:
page-not-found-short: "Page not found"
page-not-found-long: "The requested page could not be found."
accessibility:
website-menu: "Website menu"
lang-menu: "Language switcher"
copy: "Copy link"
copied: "Link copied!"
Expand Down
5 changes: 3 additions & 2 deletions _includes/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@
</div>
</div>

<button class="navbar-toggler" onclick="openNav()"><img
src="{{ site.baseurl_root }}/assets/images/icons/burger.svg" /></button>
<button class="navbar-toggler" onclick="openNav()">
<img src="{{ site.baseurl_root }}/assets/images/icons/burger.svg" alt="{% t generic.accessibility.website-menu %}">
</button>
</div>

</div>
Expand Down