Skip to content

feat(a11y): add table captions and header scopes - #9

Merged
TenaciousHare merged 1 commit into
mainfrom
feat/semantic-tables
Oct 19, 2026
Merged

TenaciousHare merged 1 commit into
mainfrom
feat/semantic-tables

Conversation

@TenaciousHare

@TenaciousHare TenaciousHare commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

What

  • PrintTables: replace <h3> above tables with <caption> inside <table>
  • Both tables: add scope="col" to column headers, IATA code as <th scope="row">
  • CSS: style caption to match previous heading, limit cursor: pointer to sortable headers

Why

Captions and scopes link each cell to its headers, so screen readers announce
e.g. "Kraj: Hiszpania" instead of a bare value. Based on "HTML od podstaw" cz. 7.

Checklist

  • Print preview: captions visible, thead repeats on page 2
  • Admin panel: sorting still works, pointer only on sortable headers
  • npm run lint + tests pass

@netlify

netlify Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for destinations-test ready!

Name Link
🔨 Latest commit 071cb0a
🔍 Latest deploy log https://app.netlify.com/projects/destinations-test/deploys/6ad688af863d3c6c92bdd749
😎 Deploy Preview https://deploy-preview-9--destinations-test.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@TenaciousHare
TenaciousHare merged commit be62233 into main Oct 19, 2026
6 checks passed
@TenaciousHare
TenaciousHare deleted the feat/semantic-tables branch October 19, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant