Skip to content

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

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

LukasWallrich wants to merge 7 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 712-entry 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. An All (712) / Linked to terms (543) toggle lets readers narrow to linked sources, 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

/404.html — 1440 px Before /404.html — 1440 px After
404 desktop before 404 desktop after
/404.html — 390 px Before /404.html — 390 px After
404 mobile before 404 mobile after
/glossary/references/ — 1440 px Before /glossary/references/ — 1440 px After
References desktop before References desktop after
/glossary/references/ — 390 px Before /glossary/references/ — 390 px After
References mobile before References mobile after

Decisions to review

  • 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 28 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
Co-Authored-By: Gemini 4 Neon <noreply@google.com>

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