Use skip navigation links

Use skip navigation links

In 1998, Jim Thatcher (contributor to WCAG guidelines, and author of one of the first screen readers IBM Screen Reader for DOS, passed away in 2019) pioneered skip links.

The Skip link is the first link that you encounter when using the tab key which allows you to skip navigation, and banners and go to the actual content of the page. This allows screen readers and people who use a keyboard to navigate. Skip nav links are useful for users who use only the keyboard to navigate websites.

You can implement it like this:

<body>
  <a href="#main">Skip to main content (Press Enter)</a>
  <nav role="navigation">
    ...
  </nav>
  <main id="main">
    ...
  </main>
</body>        

You can add styles to hide it when not used with the tab key. To not affect your layout you can use absolute positioning. Like this:

.skip_link {
	opacity: 0;
	top: 0;
	margin: 12px 0 12px 0;
	position: absolute;
}

.skip_link:focus {
	opacity: 1;
}        

Resources

#WebAccessibility #SkipLinks #ScreenReaders #WCAG #InclusiveDesign #UX #WebDevelopment #A11y #DigitalAccessibility #WebStandards #AccessibleWeb #UXDesign #WebDesign #InclusiveWebDesign

要查看或添加评论,请登录

Artem Alekseev的更多文章

  • Quick Tips for Accessible Forms

    Quick Tips for Accessible Forms

    Here are some things to keep in mind, while designing form elements: Every field or group of fields should include a…

  • UI Design & Seizures

    UI Design & Seizures

    As UI designs become more complex, we need to be mindful of the impact they can have on users with photosensitive…

  • Simple Metrics to Detect UX Problems with Microsoft Clarity

    Simple Metrics to Detect UX Problems with Microsoft Clarity

    When designing digital products, it’s crucial to understand how users interact with your interface. Microsoft Clarity…

  • Overview of Screen Readers Across Operating Systems

    Overview of Screen Readers Across Operating Systems

    Windows NVDA and JAWS are screen readers of choice for many on Windows. the usage of both is nearly the same.

  • Simulating Vision Deficiencies to Test UI

    Simulating Vision Deficiencies to Test UI

    Firefox dev-tools Screenshot showing vision simulation options in the "Accessibility" tab in Firefox Dev-tools You can…

  • UI Animations & Vestibular Disorders

    UI Animations & Vestibular Disorders

    Scroll hijacking and parallax scrolling not only can be annoying, it can also make people with Vestibular Disorders…

  • Enhancing Contrast and Color Perception: WCAG, Ambient Light Sensor, and Media-queries

    Enhancing Contrast and Color Perception: WCAG, Ambient Light Sensor, and Media-queries

    1. Use WCAG AA+ Compliant Colors One of the simplest yet most effective ways to improve accessibility is using colors…

  • How People Use Braille on Smartphones

    How People Use Braille on Smartphones

    What is On-Screen Braille? On-screen Braille is a method that allows users to type using Braille directly on their…

  • ARIA Live Regions

    ARIA Live Regions

    Aria-live allows screen readers to mark sections as dynamic, so the screen reader can announce the change if content…

  • Testing Accessibility in Flutter

    Testing Accessibility in Flutter

    Accessibility is a crucial aspect of app development, ensuring that your application can be used by everyone, including…