static/frontend: added heading levels and aria labels to elements

Change-Id: I7b2c62fc1b0e652114129f3d0e7a0ef2f0b9c953
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/524117
Run-TryBot: Jamal Carvalho <jamal@golang.org>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
diff --git a/static/frontend/homepage/homepage.tmpl b/static/frontend/homepage/homepage.tmpl
index 6d9949e..1343bcf 100644
--- a/static/frontend/homepage/homepage.tmpl
+++ b/static/frontend/homepage/homepage.tmpl
@@ -63,7 +63,7 @@
 {{define "pre-footer"}}
   <div class="Questions">
     <div class="Questions-content">
-      <div class="Questions-header" role="heading" aria-level="1">Frequently asked questions:</div>
+      <div class="Questions-header" role="heading" aria-level="2">Frequently asked questions:</div>
       <ul>
         <li><a href="https://go.dev/about#adding-a-package">How can I add a package?</a></li>
         <li><a href="https://go.dev/about#removing-a-package">How can I remove a package?</a></li>
diff --git a/static/shared/header/header.tmpl b/static/shared/header/header.tmpl
index 4dd2ebf..365f448 100644
--- a/static/shared/header/header.tmpl
+++ b/static/shared/header/header.tmpl
@@ -9,7 +9,7 @@
     <div class="go-Header-inner go-Header-inner--dark">
       <nav class="go-Header-nav">
         <a href="{{if .LocalMode}}/{{else}}https://go.dev/{{end}}" class="js-headerLogo" data-gtmc="nav link"
-            data-test-id="go-header-logo-link">
+            data-test-id="go-header-logo-link" role="heading" aria-level="1">
           <img class="go-Header-logo" src="/static/shared/logo/go-white.svg" alt="Go">
         </a>
          <div class="skip-navigation-wrapper">
@@ -156,12 +156,12 @@
                   </div>
                   <p></p>
                   <div class="go-Header-socialIcons">
-                      <a class="go-Header-socialIcon" href="https://groups.google.com/g/golang-nuts"><img src="/static/shared/logo/social/google-groups.svg" /></a>
-                      <a class="go-Header-socialIcon" href="https://github.com/golang"><img src="/static/shared/logo/social/github.svg" /></a>
-                      <a class="go-Header-socialIcon" href="https://twitter.com/golang"><img src="/static/shared/logo/social/twitter.svg" /></a>
-                      <a class="go-Header-socialIcon" href="https://www.reddit.com/r/golang/"><img src="/static/shared/logo/social/reddit.svg" /></a>
-                      <a class="go-Header-socialIcon" href="https://invite.slack.golangbridge.org/"><img src="/static/shared/logo/social/slack.svg" /></a>
-                      <a class="go-Header-socialIcon" href="https://stackoverflow.com/collectives/go"><img src="/static/shared/logo/social/stack-overflow.svg" /></a>
+                      <a class="go-Header-socialIcon" aria-label="Get connected with google-groups (Opens in new window)" href="https://groups.google.com/g/golang-nuts" ><img src="/static/shared/logo/social/google-groups.svg" /></a>
+                      <a class="go-Header-socialIcon" aria-label="Get connected with github (Opens in new window)" href="https://github.com/golang"><img src="/static/shared/logo/social/github.svg" /></a>
+                      <a class="go-Header-socialIcon" aria-label="Get connected with twitter (Opens in new window)" href="https://twitter.com/golang"><img src="/static/shared/logo/social/twitter.svg" /></a>
+                      <a class="go-Header-socialIcon" aria-label="Get connected with reddit (Opens in new window)" href="https://www.reddit.com/r/golang/"><img src="/static/shared/logo/social/reddit.svg" /></a>
+                      <a class="go-Header-socialIcon" aria-label="Get connected with slack (Opens in new window)" href="https://invite.slack.golangbridge.org/"><img src="/static/shared/logo/social/slack.svg" /></a>
+                      <a class="go-Header-socialIcon" aria-label="Get connected with stack-overflow (Opens in new window)" href="https://stackoverflow.com/collectives/go"><img src="/static/shared/logo/social/stack-overflow.svg" /></a>
                   </div>
                 </li>
               </ul>