Doors polish: resolve remaining #1196 and #1246 contrast, component and copy items
Merged
LU
4d ago+289+289+012345678901234567890123456789-102-102-012345678901234567890123456789
Resolves the remaining template, contrast, accessibility and copy polish items from #1196 (body and both comments) and #1246 that are not already fixed on rebrand-doors, not covered by open PRs, and not source-sheet data issues.
What changes for visitors
Disciplines (/disciplines/)
- WCAG AA link contrast: Replaced low-contrast
#1c7ed6(3.55:1on--surface) withvar(--link)(6.70:1) and underlined DOI links across.sc-description,.publication-item,.ref-doi-link,.rl-detail-doi-linkand back-to-top focus outlines. - Legible Reading List pill: Raised
.rl-pillto15 pxand the.rl-pill-countbadge from11.6 px(0.58 rem) to14 px(DESIGN.md§7). - UKRN credit placement: Moved the "Supported by UKRN" credit out of the intro (where it sat between the intro and search on phones) into a balanced
.disciplines-footband beside the feedback form and "How to cite" (56 pxon phones). Removed the dead#disciplines-layout .cluster-numberrule. - Simpler search bar: Removed the confusing
Include resourcescheckbox (clusters-page.jsalready searches disciplines and resources by default when absent).
Teaching resources & curated resource pages (/resources/, /curated_resources/...)
- No repeated filter/sort wording: Hid
"by type, level and cluster"when the filter drawer is open (keeping the mobile closed summary cleanly aligned) and moved", A to Z"/", newest first"into a visually hidden span inside#resultCountso screen readers still announce sort changes without repeating the sort menu. - Uniform cluster filter rows: Stacked multi-word cluster filters as full-width rounded rows (
min-height: 56 px, colour swatch left, tabular count right) so one- and two-line cluster names share uniform height at 390 px and 1440 px while still expanding for longer names or 200% text. - Separated collection history: Moved
<details class="collection-about">How the collection grew</details>out from under the "Missing a resource?" heading into its own.collection-historysection. - Consistent breadcrumb naming: Unified
/resources/and/curated_resources/...breadcrumbs toTeaching resources(honouring explicit.labelindoors/crumbs.html).
Glossary & site-wide references (/glossary/..., layouts/partials/citations/)
- Unified term list & placeholder: Unified the mobile glossary disclosure label to match desktop (
List of terms/ localised heading) instead of an English-only"Find another term"override, and added a concise localised placeholder (e.g. replication,z. B. Replikation, Arabic, Turkish, Chinese) to#glossary-search. - Consistent, localised author toggles: Raised the author-collapse threshold so complete ≤ 6-author lists stay expanded (never hiding ≤ 3 authors), while complete 7+ lists show
"Show all N authors"and incomplete entries containing an ellipsis /"et al."/"others"(≥ 6named authors) show"Show all authors", localised across English, Arabic (lang="ar" dir="rtl"), German, Turkish and Chinese.
Clusters, Replication Hub, Lesson Plans & cross-page polish
- Cluster sub-cluster counts (
/clusters/...): Unfiltered groups now show"10 references"instead of"10 of 10 shown"; groups with specialist items hidden by default show"25 references (2 specialist hidden)"with a tooltip pointing to the specialist toggle;"M of N shown"appears only when a filter or search is active. - Replication Hub (
/replication-hub/): Removed repeated tool kind labels (FReD,FORRT ORE,Plug-in), aligned stage taglines with the hub diagram (replication_hub.webp), and removed the unexplained stage-colour override on the first tool heading. - Lesson Plans (
/lesson-plans/): Hid"On a narrow screen, the table below scrolls sideways."above760 pxand removed the inlineborder: 0pxoverride on the Pedagogical Activities embed (style="width:100%;") so Feedback and Activities frames match. - Cross-page consistency: Linked
"About FORRT"inconfig/_default/menus.tomltoabout/usso breadcrumbs consistently link it; unified"Metascience & Research"→"Meta-Science & Research"in the Booklet and Educators' Corner 023 body (leavingsummaryuntouched for SEO parity); unified"Join our Slack"→"Join FORRT's Slack"on Get Involved intro.
Articles, read-next cards & Educators' Corner (#1246, non-conflicting with #1243)
- Read-next cards (
article_card.html): Picture-less newsletter read-next cards now use the news-list brick pattern (Previous · Newsletter/ issue title + summary, stating each fact once); picture-less ordinary news cards expose their category brick to screen readers (removedaria-hidden="true"). - Mobile Educators' Corner read-next crop: Added a whole-image treatment (
object-fit: contain) for.read-next-eduimage thumbnails on phones (≤ 760 px, excluding.ac-panel) so the Transparency Checklist table is shown whole instead of cropping ~52% of its width. - Optional announcement contact in the side card: Kept FORRT's side card on announcements (so shared links keep FORRT's social icons and dates prominent) and added optional
contactsupport toreading_card.htmlandscripts/create_announcements.R(links author profiles ormailto:if aContactcolumn is added to the Announcements sheet). - Educators' Corner 007 & author icons: Removed stray
<br><br>/<br>tags creating a ~92 px gap under the Google Forms box in EC 007 (now 18 px); changed.ac-summaryinarticle.cssfromoverflow-wrap: anywheretobreak-word; scaled and slightly weighted.ai-google-scholarin author icon rows to match neighbouring Font Awesome icons.
Before and after (1440 px & 390 px)
Disciplines (/disciplines/)
| Before (1440 px) | After (1440 px, top) | After (1440 px, closing band) |
|---|---|---|
![]() | ![]() | ![]() |
Mobile (390 px)
| Before intro (390 px) | After intro (390 px) | After closing band (390 px) |
|---|---|---|
![]() | ![]() | ![]() |
Teaching resources (/resources/)
| Before (1440 px) | After (1440 px) |
|---|---|
![]() | ![]() |
Mobile cluster filters (390 px)
| Before (390 px) | After (390 px) |
|---|---|
![]() | ![]() |
Glossary & Citations (/glossary/english/abstract_bias/, /glossary/english/transparency_checklist/)
| Before (1440 px) | After (1440 px) |
|---|---|
![]() | ![]() |
| Citation toggle before (1440 px) | Citation toggle after (1440 px) |
|---|---|
![]() | ![]() |
Mobile glossary term list (390 px)
| Before (390 px) | After (390 px) |
|---|---|
![]() | ![]() |
Cluster 1 default counts (/clusters/cluster-1/)
| Before (1440 px) | After (1440 px) |
|---|---|
![]() | ![]() |
Read-next cards & Educators' Corner mobile read-next
| Read-next before (1440 px) | Read-next after (1440 px) |
|---|---|
![]() | ![]() |
Educators' Corner 001 mobile read-next — Transparency Checklist uncropped (390 px)
| Before (390 px) | After (390 px) |
|---|---|
![]() | ![]() |
Status of all #1196 & #1246 items
- Resolved in this PR: All items listed in What changes for visitors above.
- Already fixed on
origin/rebrand-doors: Disciplines duplicate "How to cite", 1–7 numbering badges, single-discipline "Expand all", desktop sidebar duplication and field/legend colours; curated-resource eyebrow type repetition (#1239); cluster sidebar count mismatch (#1235/#1237);/tags/inconsistent "Show all" threshold (#1251); desktop logo/figure read-next cropping (#1259). - Covered by open/merged PRs (not duplicated to avoid conflicts):
#1243(hc/articles2): Newsletter post layout, Educators' Corner portraits/figures/editor's note.#1265(hc/get-involved): Get Involved page items from #1196 comment 1.#1159(hc/glossary-labels): Chinese/Arabic glossary hub and filter result/clear strings.#1266(hc/404-glossary-refs): 404 & glossary references layout.#1267(hc/education-lists): Pedagogies & Educators' Corner list pages.#1269(hc/teams-governance): Teams & Steering Committee.#1297(doors/enhance-mission-awards-testimonials, merged): Awards & Impact (content/awards/awards.md, already usingMeta-Science & Research).
- Source-sheet / Google Doc data items left for sheet owners:
- Duplicate curated resources appearing in earlier clusters (
forrt_clusters/ Google Sheet source data). - Near-duplicate tags (e.g. singular/plural or capitalisation variants) in the curated-resources Google Sheet.
- 18 BibTeX entries in the Glossary BibTeX Google Doc (
1-KKsOYZWJ3LdgdO2b2uJsOG2AmUDaQBNqWVVTY2W4W8) that currently contain literaland .../and others(includingAczel2020).
- Duplicate curated resources appearing in earlier clusters (
Checks
HUGO_TIMEOUT=300s hugo -d /tmp/forrt-after: 3,516 pages built cleanly.python3 scripts/rebrand/check_source_rules.py --base origin/rebrand-doors: 0 hard-coded URLs, 0 generated paths changed.python3 scripts/check_seo_html.py /tmp/forrt-after&scripts/rebrand/compare_builds.py: all checks pass locally; CIDesigned screens,Accessibility rules,Compare with main,Build,script-tests,check-images, andcubic · AI code reviewerall pass.- Unit tests:
test_doors_polish.py(8/8),test_parse_disciplines_gdoc.py(11/11),test_summaries.py(6/6),test_rebrand_checks.py+test_clusters_data.py+test_check_seo_html.py(120/120).
Created with Gemini 4 Neon in T3 Code.





















