Skip to content

Commit

Permalink
content/static: improve alt text for image tags in header/footer
Browse files Browse the repository at this point in the history
This change modifies alt text for the header and footer logos. The goal
of this change is to make the alt text more descriptive of the image
being shown on the page.

Fixes golang/go#41104

Change-Id: Ifda884be828a12712b4c7741ea646d3ef9e58cb5
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/275938
Reviewed-by: Julie Qiu <julie@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
  • Loading branch information
maiamachine authored and julieqiu committed Dec 15, 2020
1 parent 957d9d0 commit 635c5a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/static/html/base.tmpl
Expand Up @@ -35,7 +35,7 @@
<div class="Header">
<nav class="Header-nav">
<a href="https://go.dev/" class="Header-logoLink">
<img class="Header-logo" src="/static/img/go-logo-white.svg" alt="Go">
<img class="Header-logo" src="/static/img/go-logo-white.svg" alt="Link to Go homepage">
</a>
{{template "header_search" .}}
<ul class="Header-menu">
Expand Down Expand Up @@ -168,7 +168,7 @@
<div class="Footer">
<div class="Container Container--fullBleed">
<div class="Footer-bottom">
<img class="Footer-gopher" loading="lazy" src="/static/img/pilot-bust.svg" alt="The Go Gopher">
<img class="Footer-gopher" loading="lazy" src="/static/img/pilot-bust.svg" alt="Gopher in flight goggles">
<ul class="Footer-listRow">
<li class="Footer-listItem"><a href="https://go.dev/copyright">Copyright</a></li>
<li class="Footer-listItem"><a href="https://go.dev/tos">Terms of Service</a></li>
Expand Down

0 comments on commit 635c5a9

Please sign in to comment.