Skip to content

[Sync to prerelease] Fix heading levels on the download pages - #2231

Merged
cwickham merged 1 commit into
prereleasefrom
sync-2228-to-prerelease
Sep 29, 2026
Merged

cwickham merged 1 commit into
prereleasefrom
sync-2228-to-prerelease

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Description

Sync of #2228 to prerelease.

Original PR

Fix heading levels on the download pages

The download pages skip heading levels, and axe reports heading-order on each page. The outline goes from the h1 title to h3 "Highlights" and "Release Notes", then to h6 changelog headings.

This PR:

  • Makes "Highlights" and "Release Notes" h2.
  • Changes the tab headings in docs/download/index.qmd from ## to #. As a result, the h2 sections stay inside their tab.
  • Changes populateNews() in _download.html. It moved every changelog heading to h6. Now it moves each heading down one level (## to h3, ### to h4), so the changelog keeps its structure.

The headings are now larger than before.

Checked with an axe scan before and after on docs/download/{index,release,prerelease}.html: the four heading-order findings are gone, and nothing is new or worse. The tabs on the index page are unchanged.

Check

Highlights and Release Notes become h2, the index tabsets split on h1,
and populateNews() shifts changelog headings down one level instead of
flattening them all to h6.

(cherry picked from commit 474c282)
@cderv

cderv commented Sep 29, 2026

Copy link
Copy Markdown
Member

/deploy-preview

@cwickham
cwickham merged commit 805851e into prerelease Sep 29, 2026
@cwickham
cwickham deleted the sync-2228-to-prerelease branch September 29, 2026 15:06
@github-actions

Copy link
Copy Markdown
Contributor Author

📝 Preview Deployment

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

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