Skip to content

[Sync to prerelease] Fix heading levels on the listing card pages - #2232

Merged
cderv merged 1 commit into
prereleasefrom
sync-2229-to-prerelease
Sep 29, 2026
Merged

cderv merged 1 commit into
prereleasefrom
sync-2229-to-prerelease

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Description

Sync of #2229 to prerelease.

Original PR

Fix heading levels on the listing card pages

The listing template ejs/links.ejs makes each card title an h4 and each subtitle an h6. The pages that use it go from the h1 title straight to h4, and axe reports heading-order on each card.

This PR:

  • Makes the card title an h2.
  • Makes the subtitle a paragraph. A subtitle is a description, not a heading.
  • Changes styles.css so the cards look the same as before.

Checked with an axe scan before and after on the six pages that use the template: all 19 heading-order instances are gone, and nothing is new or worse. The computed font size, weight, colour and spacing of the titles are the same in light and dark mode.

Check

Fixes axe heading-order on the Guide and Reference index pages.
CSS keeps the previous h4/h6 appearance.

(cherry picked from commit c7634d3)
@cderv

cderv commented Sep 29, 2026

Copy link
Copy Markdown
Member

/deploy-preview

@github-actions

Copy link
Copy Markdown
Contributor Author

📝 Preview Deployment

🔍 Full site preview: https://deploy-preview-2232.quarto.org

@cderv
cderv merged commit 6805dfb into prerelease Sep 29, 2026
@cderv
cderv deleted the sync-2229-to-prerelease branch September 29, 2026 15:24
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