diff options
author | Alexander Nohe <alex.nohe427@gmail.com> | 2020-06-27 23:22:29 +0000 |
---|---|---|
committer | Dmitri Shuralyov <dmitshur@golang.org> | 2020-06-29 17:59:28 +0000 |
commit | db85615bfd7502206708b799e4aa73bf707ebafa (patch) | |
tree | 0af459dfaa0667250d83dbb3fa4897871baa0038 /doc | |
parent | 9a6439690ec3f42f1e6c1e219f0020e5cc985072 (diff) | |
download | go-db85615bfd7502206708b799e4aa73bf707ebafa.tar.gz go-db85615bfd7502206708b799e4aa73bf707ebafa.zip |
doc: add alt attribute to gopher image in help.html
This adds an alt tag for accessibility. The alt text is a visual
description of the text that is read out loud to users using a
screen reader. The HTML specifications indicate that alt tags for
decorative images should be left blank.
Fixes #39861
Change-Id: I76c39a461ceabe685826aa46e4f26ad893d50634
Reviewed-on: https://go-review.googlesource.com/c/go/+/240258
Reviewed-by: Alexander Nohe <alex.nohe427@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/help.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/help.html b/doc/help.html index b305a57763c..3d32ae5dc03 100644 --- a/doc/help.html +++ b/doc/help.html @@ -8,7 +8,7 @@ <h2 id="help">Get help</h2> -<img class="gopher" src="/doc/gopher/help.png"/> +<img class="gopher" src="/doc/gopher/help.png" alt=""/> {{if not $.GoogleCN}} <h3 id="mailinglist"><a href="https://groups.google.com/group/golang-nuts">Go Nuts Mailing List</a></h3> |