_content: make purpose of buttons clear to screen reader users

Fix to make screen reader users understand the purpose of Get started   and download buttons

Change-Id: Ia8c75721a57a503c8659db328343f4dd5ac98ed8
Reviewed-on: https://go-review.googlesource.com/c/website/+/506999
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Nooras Saba‎ <saba@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
prudhvikrishna 2023-06-28 17:07:12 -07:00 коммит произвёл Jamal Carvalho
Родитель f7c0397718
Коммит 57cac55d24
1 изменённых файлов: 8 добавлений и 5 удалений

Просмотреть файл

@ -40,11 +40,14 @@ summary: Go is an open source programming language that makes it simple to build
<div
data-version=""
class="js-latestGoVersion">
<a class="Primary" href="/learn/">Get Started</a>
<a class="Secondary js-downloadBtn"
href="/dl"
>Download
</a>
<a class="Primary" href="/learn/" aria-label="Get Started" aria-describedby="getStarted-description" role="button">Get Started</a>
<a class="Secondary js-downloadBtn" href="/dl" aria-label="Download" aria-describedby="download-description" role="button">Download</a>
<div class="screen-reader-only" id="getStarted-description" hidden>
Opens a new window with the Get Started guide.
</div>
<div class="screen-reader-only" id="download-description" hidden>
Opens a new window to download Go.
</div>
</div>
<div class="Hero-footnote">
<p>