a11ySea / testing

Collect accessibility issues for public websites
3 stars 3 forks source link

CDC COVID-19 - Bug: Broken skip links #13

Open AccessForAll opened 4 years ago

AccessForAll commented 4 years ago

Issue Summary

Two of the three skip links are broken.

Steps to reproduce

Steps to reproduce the behavior:

  1. Go to https://www.cdc.gov/coronavirus/2019-ncov/index.html#content
  2. Press tab to show the "Skip directly to site content" link
  3. Press 'enter' when the link appears
  4. Note that the focus remains on the skip link
  5. Press tab again to show the "Skip directly to page options" link
  6. Press 'enter' when the link appears
  7. Note that the focus remains on this skip link

Behavior

Expected behavior

When the user presses enter on the link that has focus, the focus should go to the in-page link and the user should be able to begin navigating from that new area.

Actual behavior

When the user presses enter on either of the first two skip links, focus remains on the link and doesn't take the user to the main content nor the page options.

Versions

Device Information:

Screen Reader or AT Information

Screenshots

If applicable, add screenshots to help explain your problem.

Code

Current Code

(code snippet)

Suggested Code

(code snippet)

Specifications

Additional References