Skip to main content

HTML Standards: The OL Element

SimpleAccess.io Elements Series

Elements Index

The <ol> Element

As defined in the HTML Living Standard, the <ol> (ordered list) element represents an ordered sequence of items, typically rendered with numbers.

Visual Example:
  1. First step in the process
  2. Second step in the process
  3. Third step in the process
<ol>\n <li>Step One</li>\n <li>Step Two</li>\n</ol> View HTML Living Standard: The ol element

When to Use Ordered Lists

Use an <ol> when the order of the items is meaningful to the user.

WCAG Requirement: Info and Relationships

Success Criterion 1.3.1 (Level A): Information, structure, and relationships conveyed through presentation can be programmatically determined.

Using <ol> tells assistive technology that the sequence is important, and it will announce the current item's number (e.g., "Item 1 of 3").

Understand SC 1.3.1: Info and Relationships

© 2026 SimpleAccess.io — Native Standards for Everyone.