Zum Inhalt springen
BFSG compliance since 2025
Barrierefreiheit

Screen Reader Optimization: Making Your Website Readable

Screen reader optimization for websites: ARIA landmarks, roles, live regions, semantic HTML and screen reader testing across all platforms.

14 min read ScreenreaderARIASemantisches HTMLWCAG-AuditBarrierefreiheit

Screen readers translate visual web content into spoken language or braille output and are the central tool for blind and visually impaired people to use the internet. In Germany, approximately 1.2 million (project experience) blind and visually impaired people live (DBSV, 2024), worldwide over 2.2 billion (WHO, 2024). Yet according to the WebAIM Million Report (2024), 96.3% (WebAIM, 2024) of all websites have problems that significantly hinder or prevent screen reader use. Screen reader optimization is a central component of BFSG compliance and simultaneously improves SEO and overall code quality.

Screen Reader Optimization: Semantic Page Structurerole=banner | Navigation Bar | Skip Link: Jump to ContentLandmarksrole=bannerrole=navigationrole=mainrole=complementaryrole=contentinforole=searchScreen reader navigationjump between landmarksrole=mainh1: Page Title (once per page)Introductory text with semantic markuph2: Section HeadingParagraph text (p elements, not div)img alt=DescriptionDecorative: alt=emptyaria-live=politeDynamic contentHeading Hierarchy: h1 - h2 - h3 - h4Never skip levelsARIA Rolesaria-labelaria-describedbyaria-expandedaria-hiddenaria-currentaria-liveFirst rule: Prefernative HTML!Test with screen readers on Windows, macOS, iOS and Androidrole=contentinfo | Footer with Contact, Links and Accessibility Statement

How Screen Readers Interpret Websites

Screen readers analyze the browser's accessibility tree, a representation of page content independent of visual presentation. This tree is built from the DOM and ARIA attributes and contains a role, name and state for each element. A button labeled Submit is represented in the accessibility tree as Role: Button, Name: Submit, State: not pressed.

The quality of the accessibility tree depends directly on the quality of the HTML code. Semantic HTML elements like

ARIA Landmarks: Orientation on the Page

ARIA landmarks define the main areas of a web page and enable screen reader users to navigate directly to a specific area. The most important landmarks are banner (header), navigation (navigation bars), main (main content), complementary (sidebar), contentinfo (footer) and search (search area). Each page should have exactly one main landmark, one banner landmark and one contentinfo landmark.

Semantic HTML5 elements create these landmarks automatically:

becomes banner,

A common error is the missing

element. Without this landmark, screen reader users cannot jump directly to the main content and must traverse the entire navigation on every page load. The
element should wrap all page-specific content but not contain header, footer and navigation. Correct landmark structure is the foundation of all accessible web development.

Heading Hierarchy: Page Structure

The heading hierarchy is the most important navigation tool for screen reader users. Screen reader users can jump between all headings on the page via keypress, gaining a quick overview of page structure. According to a WebAIM survey (2024), 67.5% (WebAIM, 2024) of all screen reader users use headings as their primary navigation method.

The hierarchy must be logically structured: each page has exactly one

element as the main heading. Below follow

elements for main sections,

for subsections and so on. No level may be skipped. An

must not follow an

directly without an intervening

. This rule is frequently violated when heading levels are chosen for visual reasons rather than structural ones.

In practice, this means: the visual styling of headings is controlled via CSS, not via the HTML level. If an

should visually appear smaller than an

, this is solved with CSS classes. The HTML level remains strictly oriented to the logical document structure. Automated testing tools check heading hierarchy, but only manual testing reveals whether the hierarchy is also semantically meaningful.

ARIA Roles, States and Properties

WAI-ARIA (Web Accessibility Initiative - Accessible Rich Internet Applications) extends HTML with attributes that provide assistive technologies with additional information about the role, state and properties of elements. The most important rule when using ARIA is: native HTML first. A

The most common ARIA attributes in practice are aria-label for non-visible labels, aria-describedby for additional descriptions, aria-expanded for collapsible elements, aria-hidden="true" for hiding decorative elements, aria-current for the current page in navigation and aria-live for dynamic content. Each of these attributes has a specific use case and should not be applied indiscriminately.

A common error is excessive ARIA: elements receive roles and attributes that native HTML already provides. This can lead to conflicts when the screen reader receives contradictory information. The second rule of ARIA is: do not change the semantics of an element unless necessary. An does not need role="link" as it already has this role.

Screen reader tests are an indispensable part of the WCAG audit. The relevant screen readers are those available in Windows, macOS, iOS and Android -- from the free Windows screen reader through the screen reader built into macOS and iOS to the commercial Windows market leader. According to the WebAIM Screen Reader User Survey (2024), around 40.5% (WebAIM, 2024) use the commercial Windows screen reader, 37.7% (WebAIM, 2024) the free Windows screen reader and 12.0% (WebAIM, 2024) the macOS/iOS screen reader as their primary tool.

A systematic screen reader test includes complete page navigation via keyboard, checking all landmarks and headings via screen reader shortcuts, running through all forms in forms mode, testing dynamic content and live regions, verifying all images and media content for alt text and validating the reading order.

Each screen reader behaves slightly differently: the Windows screen readers use a virtual cursor in browse mode, the macOS screen reader uses a rotor for structural navigation. What is correctly read on Windows may sound different or be missing on macOS. Therefore we recommend testing with at least two different screen readers. The combination of a Windows screen reader and the macOS screen reader covers the majority of users.

Common Screen Reader Problems and Solutions

According to the WebAIM Million study (2024), 96.3 percent (WebAIM, 2024) of examined homepages have at least one automatically detectable WCAG error affecting screen reader users. The five most common problems are: missing alternative text on images, missing labels on form fields, empty links, missing document language and low color contrast. While contrast primarily affects visually impaired users, the other four errors directly and severely impact the screen reader experience.

The most common problem is the missing connection between visual presentation and semantic structure. A visual card design with image, heading and link is often read as a series of unconnected elements rather than coherent content. The solution: implement the entire card element as an