12 KiB
| title | chunk | source | category | tags | date_saved | instance |
|---|---|---|---|---|---|---|
| Reading order - Glossary | MDN | 1/3 | https://developer.mozilla.org/en-US/docs/Glossary/Reading_order | reference | web, html, css, javascript, documentation | 2026-05-05T05:42:19.007990+00:00 | kb-cron |
MDN HTML HTML: Markup language
HTML reference
HTML guides
Markup languages
CSS reference
CSS guides
Layout cookbook
JavaScriptJS JavaScript: Scripting language
JS reference
JS guides
Web APIs Web APIs: Programming interfaces
Web API reference
Web API guides
- Using the Web animation API
- Using the Fetch API
- Working with the History API
- Using the Web speech API
- Using web workers
Technologies
Topics
Learn Learn web development
Frontend developer course
- Getting started modules
- Core modules
- MDN Curriculum
- Check out the video course from Scrimba, our partner
Learn HTML
Learn CSS
Learn JavaScript
Tools Discover our tools
About Get to know MDN better
Reading order
Reading order refers to the order in which content is accessed, for example when read out by a screen reader, or navigated to using sequential navigation methods such as tabbing through links or buttons. By default, the reading order of a webpage is defined by the document source order.
Generally, the source order should express a sensible reading order for the content, and this should also be reflected by the visual order of the content layout. However, sometimes the visual order goes out of sync with the source order. For example, you might apply different layouts to a document based on media queries to suit various device or user requirements, or adjust tabbing order via tabindex.
These updates can cause accessibility issues. For example, when a sighted screen reader user tabs through content, and the screen reader order differs from the visual order, this is bad user experience and can be inaccessible. The reading order should make sense to all users no matter how they access the content.
In this article
Modifying reading order in CSS
An element's reading order can be modified via the reading-flow property, and tweaked further by setting reading-order values on child items of the element.
The following definitions are significant in understanding modified reading order:
An element with a modified reading order resulting from the values set for its reading-flow and reading-order properties.
The modified reading order of a reading flow container's child elements.