diff --git a/tutorials/html/06-lists/accessible-lists.mdx b/tutorials/html/06-lists/accessible-lists.mdx index 7a1926522..3510dd1d6 100644 --- a/tutorials/html/06-lists/accessible-lists.mdx +++ b/tutorials/html/06-lists/accessible-lists.mdx @@ -1,16 +1,547 @@ --- -id: accessible-lists -title: "Best Practices for Accessible HTML Lists" +id: html-accessible-lists +title: "Accessible HTML Lists" sidebar_label: "Accessible Lists" -sidebar_position: 6 +sidebar_position: 7 slug: /html/lists/accessible-lists -description: "Ensure list structures translate effectively to screen readers, avoid CSS list-style accessibility bugs, and utilize ARIA role considerations." +description: "Learn how to make HTML lists accessible to everyone. Understand how screen readers announce lists, why real list markup matters, how to label lists, keep list semantics when removing bullets, build accessible navigation, breadcrumbs, and checklists, and test your lists on CodeHarborHub." keywords: - accessible HTML lists - - screen reader list navigation - - CSS list style accessibility - - ARIA list roles + - screen reader lists + - list-style none VoiceOver + - role list + - aria-labelledby list + - accessible navigation list + - accessible breadcrumbs + - accessible checklist HTML + - WCAG info and relationships + - semantic lists + - learn HTML lists - CodeHarborHub HTML -authors: [ajay-dhangar] -tags: [html, accessibility, lists, a11y] ---- \ No newline at end of file +tags: [html, web-development, beginner, lists, accessibility, aria, wcag, frontend] +--- + +When you look at a list, you take in its shape in an instant: how many items there are, where it starts, where it ends, and which items sit under which. You do not have to think about it. + +People who use screen readers do not get that instant view. They hear the page, one piece at a time. Real list markup is how HTML gives them the same overview that your eyes get for free: **"list, five items,"** then each item, then **"end of list."** That one announcement lets someone decide in a second whether to listen to all five items or skip ahead. + +This final lesson of the section shows you how to keep that overview intact, and how to avoid the common mistakes that quietly take it away. + + +
+ +## What You Will Learn + +- How screen readers announce lists, and why that helps +- Why real list markup beats fake lists +- How to keep list meaning when you remove bullets +- How to label lists, navigation, and breadcrumbs +- How to build accessible checklists and nested lists +- How to keep the reading order and the visual order matching +- How to test your lists + +## Why Real Lists Matter + +A list is not just bullets. It is **information about the content's structure**. WCAG, the international web accessibility standard, calls this "Info and Relationships": structure that is visible on screen must also be available in the code. + +When you use a real `