Skip to content

Fix the Citation Fields table markup on the citeable articles page - #2236

Draft
cwickham wants to merge 2 commits into
mainfrom
citeable-table-small-div
Draft

cwickham wants to merge 2 commits into
mainfrom
citeable-table-small-div

Conversation

@cwickham

@cwickham cwickham commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

The Citation Fields table on the citeable articles page had broken markup.

  • url row: One line was 3 characters too wide for its grid column. Pandoc then read the table as three columns. As a result, the url row was one cell that showed literal | characters, "Document Yaml" became an <h1>, and each row had an extra empty cell.
  • Lists in <small>: <small> cannot contain a list. In the browser, the container-title list items lost their <ul> parent. axe reports list and listitem (WCAG 1.3.1).
  • Notes in <sub>: 13 notes used <sub> as small print. Screen readers announce this text as subscript.

This PR has two commits:

  1. Fix the markup. All notes are now ::: small divs, the url row fits its column, and a type:report typo is fixed.
  2. Convert the table to list-table syntax, so that column alignment cannot break it again.

The table now has a real header row and two columns. I did an axe scan of the page before and after. The list and listitem findings (3 instances) are gone, and nothing is new or worse.

Check

Replace <sub> and <small> notes with ::: small divs, re-align the url row
so the table parses as two columns with a real header, and fix a
'type:report' typo.
Grid-table alignment caused the earlier url-row breakage; a list table
has no column edges to misalign.
@github-actions

Copy link
Copy Markdown
Contributor

📝 Preview Deployment

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

🔄 Modified Documents

This branch has not been deployed

No deployments
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