---
url: "https://web.dev/articles/how-to-review"
titulek: "How to review for accessibility | Articles | web.dev"
h1: "How to review for accessibility Stay organized with collections Save and categorize content based on your preferences."
popis: "How to review your site for accessibility issues."
jazyk: "en"
kanonicka: "https://web.dev/articles/how-to-review"
drobecky: ["Articles", "How to review for accessibility"]
zdroj: "live"
wayback_snapshot: ""
stazeno: "2026-09-14 00:04:25"
znaku: 12252
slov: 1775
kodovani: "iso-8859-2"
sha256: "ee8e46f962fa34a5f3a23f1e63b2c25366e0baee72c86d29f4e59fb0faae1e17"
---
How to review for accessibility
Stay organized with collections
Save and categorize content based on your preferences.
Rob Dodson
Determining whether your website or application is accessible can seem like an
overwhelming task. If you're approaching accessibility for the first time, the
sheer breadth of the topic can leave you wondering where to start. After all,
working to accommodate a diverse range of abilities means there are a
correspondingly diverse range of issues to consider. This post breaks down these issues into a logical, step-by-step process for
reviewing an existing site for accessibility. Start with the keyboard For users who either can't or choose not to use a mouse, keyboard navigation is
the primary means of reaching everything on screen. This audience includes
users with motor impairments, such as a repetitive stress injury (RSI) or
paralysis, as well as screen reader users. For a good keyboard experience, aim to have a logical tab order and clearly
discernible focus styles. Start by tabbing through your site. The order in which elements are focused
should follow the DOM order. If you're unsure which elements should receive
focus, consult the [module in the Learn Accessibility course about focus](/learn/accessibility/focus). The best
practice is that any control a user can interact with or provide input to
should be focusable and display a focus indicator (such as a focus ring). Custom interactive controls should be focusable. If you use JavaScript to turn
a `
` into a fancy drop-down, it won't automatically be inserted into the
tab order. To make a custom control focusable, give it a `tabindex="0"`.
`tabindex` values greater than 0 change the tab order and can be confusing for
screen reader users. Make only interactive content focusable. Adding `tabindex` to non-
interactive elements like headings slows down keyboard users who can see the
screen, and doesn't help screen reader users because the screen reader
already knows to announce them. If you add new content to a page, direct the user's focus to that content
first so they can take action on it. See
[Managing Focus at the Page Level](/articles/using-tabindex#managing_focus_at_the_page_level)
for examples. Design your site so that the user can always focus the next element when they
want to. Beware of autocomplete widgets and other contexts that can trap
keyboard focus. You can temporarily trap focus when you want the user to
interact with a modal and not the rest of the page, but you should always
provide a keyboard-accessible way to escape the modal. See
[Modals and Keyboard Traps](/articles/using-tabindex#modals_and_keyboard_traps)
for an example. Make your focus control usable If you've built a custom control, let your users reach *all* of its features
using only the keyboard. Read
[Managing Focus In Components](https://developers.google.com/web/fundamentals/accessibility/focus/using-tabindex#managing_focus_in_components)
for techniques to improve keyboard access. Manage offscreen content Many sites have offscreen content that is present in the DOM but not visible,
like links inside a responsive drawer menu or a button inside a modal window
that hasn't been displayed yet. Leaving these elements in the DOM can create a
confusing keyboarding experience, especially for screen readers, which
announce the offscreen content as if it's part of the page. See [Handling offscreen content](/articles/dom-order-matters#offscreen_content)
for tips to handle these elements. Test with a screen reader Improving general keyboard support lays some groundwork for the next step, which
is to check the page for proper labeling and semantics and any obstructions to
screen reader navigation. If you're unfamiliar with how semantic markup gets interpreted by assistive
technology, read [Content structure](/learn/accessibility/structure). Check all images for proper `alt` text. The exception to this practice is when
images are primarily for presentation purposes and aren't essential pieces of
content. To signify that screen readers should skip an image, set the
value to an empty string: `alt=""`. Check all controls for a label. For custom controls, this might require the
use of `aria-label` or `aria-labelledby`. See
[ARIA Labels and Relationships](/articles/aria-labels-and-relationships)
for examples. Check all custom controls for an appropriate `role` and any required ARIA
attributes that communicate their state. For example, a custom checkbox needs
a `role="checkbox"` and `aria-checked="true|false"` to properly convey its
state. See [Introduction to ARIA](/articles/semantics-aria) for a general
overview of how ARIA can provide missing semantics for custom controls. Make the flow of information through your page make sense. Because screen
readers navigate the page in DOM order, they'll announce any elements you've
visually repositioned visually using CSS in a nonsensical order. If you need
something to appear earlier in the page, physically move it earlier in the DOM. Aim to support screen reader navigation for all content on the page. Ensure
no sections of the site are permanently hidden or blocked from screen
reader access.
If content *should* be hidden from a screen reader, for example, if it's
offscreen or just presentational, set that content to `aria-hidden="true"`.
For a deeper explanation, refer to
[Hiding content](/articles/hiding-and-updating-content#aria-hidden). Get familiar with screen readers Though it might seem daunting to learn a screen reader, they're actually pretty
user-friendly. In general, most developers can get by with just a few simple
key commands. If you're on a Mac, check out this video about
[VoiceOver](https://www.youtube.com/watch?v=5R-6WvAihms&list=PLNYkxOF6rcICWx0C9LVWWVqvHlYJyqw7g&index=6),
the screen reader that comes with Mac OS. If you're on a PC, check out this
video about [NVDA](https://www.youtube.com/watch?v=Jao3s_CwdRU&list=PLNYkxOF6rcICWx0C9LVWWVqvHlYJyqw7g&index=4),
a donation supported, open-source screen reader for Windows. `aria-hidden` doesn't prevent keyboard focus It's important to understand that ARIA can only affect the *semantics* of an
element; it has no effect on the *behavior* of the element. You can make
an element hidden to screen readers with `aria-hidden="true"`, but that doesn't
change the focus behavior for that element. For offscreen interactive content,
For offscreen interactive content, use [the `inert` attribute](/blog/baseline2023#the_inert_attribute)
to make sure it's truly removed from the keyboard flow. For older browsers,
combine `aria-hidden="true"` with `tabindex="-1"`. Interactive elements should indicate their purpose and state Providing visual hints, or *affordances*, about what a control will do helps
a wide variety of people on a wide variety of devices operate and navigate your
site. Interactive elements, like links and buttons, should be distinguishable from
non-interactive elements. It's hard for users to navigate a site or app when
they can't tell if an element is clickable. There are many valid ways to
indicate interactive elements. One common practice is underlining links to
differentiate them from their surrounding text. Similar to the focus requirement, interactive elements like links and buttons
require a `hover` state to tell mouse users when their pointer is over something
clickable. However, to make these elements accessible to other input methods,
they have to be distinguishable without a `hover` state. Take advantage of headings and landmarks Headings and landmark elements give your page semantic structure, and
greatly increase the navigating efficiency of assistive technology users. Many
screen reader users report that, when they first land on an unfamiliar page,
they typically try to
[navigate by headings](http://www.heydonworks.com/article/responses-to-the-screen-reader-strategy-survey). Similarly, screen readers also offer the ability to jump to important landmarks
like `` and `