{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-accessible-tables-982b32a2b48d","title":"Ensure Semantic Table Markup for Screen Readers","summary":"Review and improve HTML table accessibility by ensuring semantic markup for screen readers. This includes using <th> elements with scope attributes, adding <caption> for context, and avoiding tables for layout. The deliverable is an accessible table structure that improves screen reader compatibility and data understanding for users with visual impairments.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-accessible-tables-982b32a2b48d","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-accessible-tables-982b32a2b48d","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-accessible-tables-982b32a2b48d.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-accessible-tables-982b32a2b48d\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"Before applying this skill, ensure the table is not used for layout purposes and that the HTML is rendered correctly. If the table has merged cells, use id\/headers attributes to maintain header associations. Start by verifying the presence of <th> elements with scope='col' or scope='row', and add a <caption> if the table lacks a clear adjacent section heading.","instructions":"---\nname: accessible-tables\ndescription: \"Use when reviewing rendered HTML, interactive components, or design-system patterns related to Use semantic table markup for screen readers. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.\"\nmetadata:\n  category: accessibility\n  priority: medium\n  difficulty: intermediate\n  estimatedTime: \"20\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/accessibility\/accessible-tables\n---\n\n# Use semantic table markup for screen readers\n\nScreen readers read table data cell-by-cell\u2014without proper headers, users hear meaningless numbers without context. 'Row 3, Column 2: $99' vs just '$99'.\n\n## Quick Reference\n\n- Use <th> elements for headers with scope='col' or scope='row'\n- Add <caption> to describe the table's purpose\n- Never use tables for layout\u2014use CSS Grid or Flexbox instead\n- Use id\/headers for complex tables with merged cells\n- For simple tables with a clear adjacent section heading, missing `scope` is often a stronger finding than missing `<caption>`\n- Prefer one strong table-semantics finding over multiple weaker enhancements on the same simple table\n\n## Check\n\nVerify tables use proper th elements with scope, caption or aria-labelledby, and semantic table structure.\n\n## Fix\n\nAdd proper table headers with scope attributes, captions for context, and ensure tables are not used for layout.\n\n## Explain\n\nExplain how proper table markup helps screen reader users understand data relationships and navigate table content.\n\n## Code Review\n\nReview the rendered markup and interactive states that affect Use semantic table markup for screen readers. Flag exact elements, roles, labels, focus behavior, or keyboard interactions that violate the rule, and note how to verify the fix with browser accessibility tooling or assistive tech.\n\n---\n\nFor full implementation details, code examples, and framework-specific guidance,\nsee `references\/rule.md`.\n\nRule page: https:\/\/frontendchecklist.io\/rules\/accessibility\/accessible-tables\n","use_cases":["Reviewing HTML tables for accessibility compliance","Improving screen reader compatibility for data tables","Ensuring proper header associations in complex tables"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/accessible-tables\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-23","created_at":"2026-11-22T15:00:46.000000Z","updated_at":"2026-11-23T04:54:23.000000Z","seo_title":"Ensure Semantic Table Markup for Screen Readers","seo_description":"Improve table accessibility by using semantic markup for screen readers. Ensure proper headers, captions, and structure for better user experience.","seo_keywords":["accessible tables","semantic table markup","screen reader accessibility","table headers","accessible HTML tables"]}}