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

Improve captions on details pages #243

Merged
merged 6 commits into from
Apr 9, 2024
Merged

Improve captions on details pages #243

merged 6 commits into from
Apr 9, 2024

Conversation

MatMoore
Copy link
Contributor

@MatMoore MatMoore commented Apr 9, 2024

Resolves #198

Screenshot 2024-04-09 at 13 39 12

This PR also makes a few other small tweaks:

  • Fix the heading structure so we have an h1 on these pages
  • Use "table" rather than "schema" as the link text when linking to the table details
  • Don't render a table of tables if there are no tables

MatMoore added 5 commits April 9, 2024 13:39
It's more helpful for a screen reader if table captions are specific.
This link goes to the top of the table page, whereas the schema
is displayed in a section below.
These were missing an h1 heading.
@jemnery
Copy link
Contributor

jemnery commented Apr 9, 2024

Excellent 👍

jemnery
jemnery previously approved these changes Apr 9, 2024
@MatMoore MatMoore merged commit 1a72171 into main Apr 9, 2024
4 checks passed
@MatMoore MatMoore deleted the improve-captions branch April 9, 2024 13:45
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.

Make table captions descriptive
2 participants