Skip to content

404 and Glossary references: area doors on 404 and scannable bibliography with Cited in column - #1266

Open
LukasWallrich wants to merge 8 commits into
rebrand-doorsfrom
hc/404-glossary-refs
Open

LukasWallrich wants to merge 8 commits into
rebrand-doorsfrom
hc/404-glossary-refs

Conversation

@LukasWallrich

@LukasWallrich LukasWallrich commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Visitors who hit a broken link or browse the glossary bibliography now have clearer paths back into FORRT's collections.

  • 404 page (/404.html): leads immediately with site search and an outlined Back to the home page button at both widths. On desktop, four Doors area cards (Education & Pedagogy, Meta-Science & Research, Social Justice & DEIA, Community & Sustainability) show each area's brick illustration, colour and key destinations; on phones (<= 760 px), they collapse into four compact, area-tinted single-tap links so the whole 404 page fits cleanly on one screen. Broken-link reporting remains quietly below, and all client-side legacy redirect rules are untouched.
  • Glossary references (/glossary/references/): on wide screens, each entry's Cited in glossary links move into a dedicated pale Education column beside the APA citation so two-word term names stay on one line and the right half of the page is no longer empty. Show more authors is now an underlined text link with a 24 px target height rather than a pill inside the citation, and the first full reference stays visible on the first phone screen. Updated content/glossary/_build_references.py to write sentence-case Glossary references on the next data-processing run (leaving generated content/glossary/references/index.md untouched on this branch).

Before and after

Refreshed on 24 November 2026: "before" is rebrand-doors at a5767a2601 (which now includes main), "after" is this branch with that base merged in. Each image is the first screen at that width, from a local build.

/404.html, 1440 px, before /404.html, 1440 px, after
404 1440 before 404 1440 after
/404.html, 390 px, before /404.html, 390 px, after
404 390 before 404 390 after
/glossary/references/, 1440 px, before /glossary/references/, 1440 px, after
glossary-refs 1440 before glossary-refs 1440 after
/glossary/references/, 390 px, before /glossary/references/, 390 px, after
glossary-refs 390 before glossary-refs 390 after

The references page keeps the old title, "List of References", until the next data-processing run on main writes the new one.

Decisions to review

  • Linked-to-terms filter dropped: main's List only cited glossary references and link each to the terms citing it #1098, now on rebrand-doors, lists only references that a term cites, so this PR's All / Linked to terms toggle had nothing left to filter and was removed in the merge.

  • 404 Social Justice & DEIA destinations (desktop): currently lists three key pages (Academic Wheel of Privilege, Towards Citational Justice, Neurodiversity resources) compared to four in the other three cards; happy to add Social Justice & DEIA (/dei/) there too if you prefer matching counts.

  • Glossary references generator title: set title: Glossary references in content/glossary/_build_references.py (will apply on the next data-processing run on main; happy to switch to List of references if you prefer keeping the old wording).

Checks

  • hugo build succeeded cleanly (0 errors)
  • python3 scripts/rebrand/check_source_rules.py --base origin/main — 0 hard-coded URLs, 0 generated files touched
  • python3 scripts/check_seo_html.py — all 24 checks PASS
  • Local visual check at 390 px confirmed the four area-tinted links fit on one screen with zero overflow

🤖 Generated with Gemini 4 Neon

…jacent Cited in column

Give /404.html a FORRT recovery layout leading with site search and a quieter
home button, followed by FORRT's four Strategic Focus Areas in their Doors
colours and illustrations, with broken-link reporting moved below. Keep all
client-side legacy redirects intact.

On /glossary/references/, place each entry's Cited in glossary links in a
dedicated pale Education column on wide screens (and a clean tinted band on
phones), add an All / Linked to terms filter with counts, style Show more
authors as a plain underlined link, keep the first reference visible on
phones, and add content-visibility rendering for the 712-item list.

Co-Authored-By: Gemini 4 Neon <noreply@google.com>
@LukasWallrich
LukasWallrich requested a review from a team as a code owner November 20, 2026 18:09
@github-actions

Copy link
Copy Markdown
Contributor

👍 All image files/references (if any) are in webp format, in line with our policy.

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

✅ Spell Check Passed

No spelling issues found when checking 3 changed file(s)! 🎉

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 4 files

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread assets/css/doors/glossary.css Resolved
LukasWallrich and others added 5 commits November 20, 2026 18:17
article.css sets 18px!important across glossary reference lists, matching
DESIGN.md's 18px body scale; drop the dead 16px declarations in glossary.css.

Co-Authored-By: Gemini 4 Neon <noreply@google.com>
Satisfies WCAG 2.2 Level AA target-size (24x24 px) in Accessibility rules
without altering the inline underlined link styling.

Co-Authored-By: Gemini 4 Neon <noreply@google.com>
…et-size

Prevents the 24px Show-more-authors button from overlapping adjacent DOI links
under axe-core's WCAG 2.2 Level AA target-size check (0 violations at 390 and
1440 px).

Co-Authored-By: Gemini 4 Neon <noreply@google.com>
Off-screen letter groups with content-visibility:auto report skipped or
collapsed layout boxes to axe-core's WCAG 2.2 AA target-size audit, causing
false failures on .ref-authors-toggle buttons at 1440 px. Removing it yields
0 violations and 0 incomplete checks across all 82 buttons at 390 and 1440 px.

Co-Authored-By: Gemini 4 Neon <noreply@google.com>
… title

Replace the four stacked area cards on phones (<= 760 px) with four single-tap
area-tinted links so the entire 404 page fits on one phone screen, while
keeping the full four-column area cards on desktop. Also switch the title in
content/glossary/_build_references.py from 'List of References' to sentence
case ('Glossary references').

Co-Authored-By: Gemini 4 Neon <noreply@google.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread content/glossary/_build_references.py Resolved
LukasWallrich and others added 2 commits November 20, 2026 19:46
Co-Authored-By: Gemini 4 Neon <noreply@google.com>
Main's #1098 (ported into Doors in the main merge) lists only references a term cites, so this PR's All / Linked-to-terms toggle and its script are dropped. The Cited-in column, the link to the English glossary and the sentence-case title are kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

👍 All content rules passed (WebP images/references and canonical doi.org links).

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