# Basics Web accessibility (also known as a11y) refers to the practice of creating websites that can be used by anyone — be that a person with a disability, a slow connection, outdated or broken hardware or simply someone in an unfavorable environment. For example, adding subtitles to a video would help both your deaf and hard-of-hearing users and your users who are in a loud environment and can't hear their phone. Similarly, making sure your text isn't too low contrast will help both your low-vision users and your users who are trying to use their phone in bright sunlight. Ready start but aren’t sure where? Checkout the [Planning and managing web accessibility guide](https://www.w3.org/WAI/planning-and-managing/) provided by [World Wide Web Consortium (W3C)](https://www.w3.org/) ## Skip link You should add a link at the top of each page that goes directly to the main content area so users can skip content that is repeated on multiple Web pages. Typically this is done on the top of `App.vue` as it will be the first focusable element on all your pages: ``` html
``` To hide the link unless it is focused, you can add the following style: ``` css .skipLink { white-space: nowrap; margin: 1em auto; top: 0; position: fixed; left: 50%; margin-left: -72px; opacity: 0; } .skipLink:focus { opacity: 1; background-color: white; padding: .5em; border: 1px solid black; } ``` Once a user changes route, bring focus back to the skip link. This can be achieved by calling focus to the `ref` provided above: ``` vue ```See the Pen Skip to Main by Maria (@mlama007) on CodePen.
[Read documentation on skip link to main content](https://www.w3.org/WAI/WCAG21/Techniques/general/G1.html) ## Structure Your Content One of the most important pieces of accessibility is making sure that design can support accessible implementation. Design should consider not only color contrast, font selection, text sizing, and language, but also how the content is structured in the application. ### Headings Users can navigate an application through headings. Having descriptive headings for every section of your application makes it easier for users to predict the content of each section. When it comes to headings, there are a couple of recommended accessibility practices: - Nest headings in their ranking order: `