From the course: React: Accessibility

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Skipping page content

Skipping page content - React.js Tutorial

From the course: React: Accessibility

Start my 1-month free trial

Skipping page content

- [Instructor] Most website content is made available at the very top of the page. But what if you need to get further down on the page without using a mouse? There's always the option to use a keyboard and hit tab to get through everything. As you can imagine, this would be a frustrating experience. The best way to avoid having the user do too much work would be to add the option to skip page content. Skip links or skip navigation links are links that can be added to the interface in order to skip content. They can be implemented with internal page anchors and some styling. Let's implement skip links in our project. Together, we will be adding a visible link at the top of the page as it's the most accessible. We want to be sure that the skip link is one of the first items that the screen readers would hear when tabbed to. In your example files, under source, components, let's work in the navigation component. We can…

Contents