go: x/website: missing alt tags on gopher images in 3 pages
What version of Go are you using (go version)?
go version go1.14.4 darwin/amd64
Does this issue reproduce with the latest release?
No, This is a website issue
What operating system and processor architecture are you using (go env)?
go env Output
$ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/Users/nl/Library/Caches/go-build" GOENV="/Users/nl/Library/Application Support/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOINSECURE="" GONOPROXY="" GONOSUMDB="" GOOS="darwin" GOPATH="/Users/nl/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/3c/ddb5w67960nd39gnzw3mysqc0000gn/T/go-build542050604=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
A few pages on the Go website, Documents, Project, And Help, are scoring a 90 SEO and 93 accessibility because of missing alt tags. Via Lighthouse
What did you expect to see?
Images with alt tags
What did you see instead?
No alt tags, most pages have 100 accessibility and SEO, but these 3 pages were off.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (14 by maintainers)
Commits related to this issue
- content/static/doc: add alt tags for images This CL adds alt tags for the gopher images in docs, for better accessibility. The HTML spec indicates that purely decorative images have empty alt tags, h... — committed to golang/website by nohe427 4 years ago
- content/static/doc: add alt tags for images This CL adds alt tags for the gopher images in docs, for better accessibility. The HTML spec indicates that purely decorative images have empty alt tags, h... — committed to passionSeven/website by passionSeven 4 years ago
@dmitshur - ahh okay. Many thanks! Thank you for the quick reviews and turnaround time.
Hi @dmitshur - thanks for the quick turn around! Updated the specified pages with empty alt tags. Let me know if there is anything else needed before submitting.
From that description, I understand it’s these URLs:
They are indeed missing alt attribute on the gopher images. Please let us know if I misunderstood, @nel417.
/cc @andybons