Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Keyboard access

Can you reach anything that’s interactive using the tab key?

Why it’s important: Maria has tendonitis and is unable to use a mouse; instead, she uses the keyboard to navigate the web.

Steps to take

  • Use the keyboard to navigate through the page using the tab key.
  • Make sure you can reach all interactive elements and trigger them with the spacebar, enter key, or arrow keys.
    • Use semantic HTML elements that are accessible by default (For example: buttons, labeled inputs, etc). If you must use divs for interactions, ensure they are focusable and labeled appropriately.
  • Check to see that focus is always visible and appears in logical order.
  • Make sure that no content gets focused offscreen or is hidden from view.
  • Check to see that the page includes a skip navigation link (if navigation is present before the main content). This will allow users to skip past navigation to reach the page’s main content.

Resources

Video tutorial: How I do an accessibility check

WCAG 2.0 references

Next

Contact: Questions or comments? Please file a GitHub issue or email g-accessibility@gsa.gov.