Web Accessibility (a11y)

Web accessibility (often shortened to a11y) is the practice of building websites that everyone can use, including people with disabilities. It covers things like screen reader support, keyboard navigation, and sufficient color contrast.

Web

Accessible pages use semantic HTML, descriptive alt text on images, proper labels on form fields, and ARIA attributes where needed so assistive technologies can understand the content.

Beyond being the right thing to do, accessibility improves SEO and usability for everyone and is a legal requirement in many places.

Examples

HTML

<button aria-label="Close dialog">×</button>

Output:

Gives the close button a clear spoken label for screen reader users.

Learn it in a lesson

See also

Back to the Dictionary