Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document row level headers #146

Closed
wants to merge 1 commit into from
Closed

Conversation

richardTowers
Copy link

@richardTowers richardTowers commented Mar 11, 2021

This requires alphagov/tech-docs-gem#214 to be released first - the current version of the tech docs template doesn't support row headers in markdown tables.

Alternatively we could document that you need to use HTML tables to set row level headings.

Context

Sometimes, tables have row-level headings as well as column level headings.

To be accessible, these need to be marked up as <th> tags. Otherwise users of screen readers and other assistive technology may not be able to work out that they're table headings rather than ordinary table cells.

This came up in a recent accessibility report.

Changes proposed in this pull request

Document how to use row level headers in markdown tables (alphagov/tech-docs-gem#214 needs to be released first).

Guidance to review

This requires alphagov/tech-docs-gem#214 to be
released first - the current version of the tech docs template doesn't
support row headers in markdown tables.

Alternatively we could document that you need to use HTML tables to set
row level headings.
kr8n3r added a commit to alphagov/paas-team-manual that referenced this pull request Mar 14, 2021
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.

2 participants