Skip to content

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

@AccessForAll

Description

@AccessForAll

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:

  • OS: Windows 10
  • Browser: Firefox
  • Version: Firefox 75

Screen Reader or AT Information

  • [e.g. JAWS 2020.2003.13]
  • [e.g. NVDA 2019.3.1]

Screenshots

If applicable, add screenshots to help explain your problem.

Code

Current Code

(code snippet)

Suggested Code

(code snippet)

Specifications

  • WCAG Principal:
  • WCAG SC:
  • Severity:

Additional References

Metadata

Metadata

Assignees

No one assigned

    Labels

    CDC COVID-19Issues logged for the CDC COVID-19 sitebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions