Neurodiversity Lesson Bank: embed Activity 1 H5P natively, fix #1016, and restyle for Doors
Fixes #1016.
Visitors on phones hit a 121 px sideways overflow on /neurodiversity-lessonbank/implicit_bias/, a red button failing WCAG AA contrast (3.92:1), and an external GitHub Pages H5P activity with no mobile viewport (an un-viewported 980 px iframe of a PNG). Across the rest of the lesson bank, pages still carried crude inline borders, ALL-CAPS display headings, broken layout tables, and an empty right half on wide screens.
This brings /neurodiversity-lessonbank/ and all five online lessons (implicit_bias, community-psychology-diversity, diversity-and-research, masterstools, generalizability) onto the Doors Social Justice (--jus / --jus-bg) layout while keeping all author content intact:
- Fixes #1016 on
/neurodiversity-lessonbank/implicit_bias/:- Replaces the fixed-width flex row with a responsive grid (
0 pxoverflow at 390 px and 200% text zoom). - Embeds both Activity 1 H5P activities natively on
forrt.orginstead of routing through an un-viewported GitHub Pages iframe or the failing 3.92:1 redonclickbutton:- Transcribes the 1903 Lombroso (The North American Review, 177(562), 440–444) excerpts into five reading-order passages, each paired with its native
<details>reflection hint (Hint 1–Hint 5), attributed to Lombroso (1903, JSTOR) and Magdalena Grose-Hodge's H5P activity (CC BY 4.0). - Renders the four True/False statements and answers as native
<details class="spoiler">disclosures, attributed to Magdalena Grose-Hodge's H5P quiz (CC BY-NC 4.0).
- Transcribes the 1903 Lombroso (The North American Review, 177(562), 440–444) excerpts into five reading-order passages, each paired with its native
- Removes GitHub Pages from the third-party
#embedded-contenttable incontent/privacy.md(GitHub Pages hosting offorrt.orgitself is already disclosed in the hosting section, andimplicit_biaswas the only page usingprovider="GitHub Pages").
- Replaces the fixed-width flex row with a responsive grid (
- Scannable landing index (
/neurodiversity-lessonbank/): pairs the intro with a Team Neurodiversity companion panel on desktop (moving it below the lessons on phones so the first lesson stays in the first screen at 390 px), distinguishes the 5 online lessons with summaries and Social Justice accents from the 4 PDF-only plans, marks off-site reading links with the site's external-link icon +(another website)text, and sets the workshop video beside its description. - Cohesive Doors reading layout across all 5 lessons: gives each lesson sentence-case
heading_title, proper##activity headings, a sticky desktop side card (PDF downloads, external feedback link, "On this page" TOC, Team Neurodiversity link), a compact mobile bar + phone TOC (with 44 px tap targets through the 1000 px tablet breakpoint), clean Doors note/excerpt/option/quote/case blocks in place of legacy inline HTML, and ordered Previous/Next + "Back to Neurodiversity Lesson Bank" navigation.
Before & after
Index at 1440 px — companion panel fills the empty right band beside the intro, online lessons get Social Justice accents and summaries, external reading links show the off-site icon, and the workshop video sits beside its text:
| Before (1440 px) | After (1440 px) |
|---|---|
![]() | ![]() |
Index at 390 px — removes the 2-item mobile TOC so the first lesson card appears inside the first screen (761 px top):
| Before (390 px) | After (390 px) |
|---|---|
![]() | ![]() |
/neurodiversity-lessonbank/implicit_bias/ at 1440 px — sentence-case heading, sticky Social Justice side card, responsive image pair, native Lombroso excerpt with expandable hints, and native True/False quiz with CC BY 4.0 / CC BY-NC 4.0 attribution:
| Before (1440 px) | After: page top (1440 px) |
|---|---|
![]() | ![]() |
| After: inline excerpt & hints (1440 px) | After: inline quiz & attribution (1440 px) |
|---|---|
![]() | ![]() |
/neurodiversity-lessonbank/implicit_bias/ at 390 px — fixes the 121 px horizontal overflow and replaces the un-viewported H5P iframe + 3.92:1 red button with native mobile-friendly disclosures:
| Before: 121 px overflow (390 px) | Before: red button & H5P (390 px) | After: inline quiz (390 px) |
|---|---|---|
![]() | ![]() | ![]() |
/neurodiversity-lessonbank/community-psychology-diversity/ at 1440 px — replaces the pasted layout table and blue onclick buttons with Doors option cards, accessible links, and fixed nested bullet list:
| Before (1440 px) | After (1440 px) |
|---|---|
![]() | ![]() |
Decisions to review
- Area colour (
--jus/--jus-bg): Styled the Neurodiversity Lesson Bank in Social Justice & DEIA purple (DESIGN.md §6, matching Team Neurodiversity and DEI Summaries) rather than general Education green. - Native Activity 1 excerpt & quiz: Rather than keeping two static GitHub Pages H5P activities behind
click_to_loador an off-site button (forrt.orgitself is hosted on GitHub Pages, and the H5P image hotspot lacked a mobile viewport), both activities are embedded natively with CC BY 4.0 / CC BY-NC 4.0 attribution to Magdalena Grose-Hodge and JSTOR source attribution to Lombroso (1903). - Cleaned meta descriptions (
scripts/rebrand/allowed_changes.txt): Wrote clean one-sentencedescription:values for the 5 lessons instead of keeping the old auto-generated summaries (which opened with"LEAVE FEEDBACK HERE..."or cut off mid-section). Kepttitle:intact (usingheading_title:for sentence-case display) so<title>and/neurodiversity-lessonbank/JSON-LD stay unchanged. - Breadcrumb
heading_titlefallback:layouts/partials/doors/article_header.htmlnow falls back toheading_titlefor the visible current-page crumb, which also fixes previously empty last crumbs on/citation-politics/("Towards Citational Justice") and/citation-politics/toolkit/("Citation Politics Toolkit"). - Broken DOI fix, quote cleanup &
____blanks: Fixed broken Markdown[https://doi.org/10.20883/jofa.36)onimplicit_biasActivity 4 Article 1 (which resolved to an unrelated dermatology paper) to the actual Zwaigenbaum & Penner (2018) BMJ 361 DOI (https://doi.org/10.1136/bmj.k1674). Removed the stray PDF page-header artifact"Lorde 2"from the third quote inmasterstools. Ongeneralizability, replaced the raw____________________underscore rules between case studies with a cleanly separated numbered list.
Verification
hugo --gc --cleanDestinationDirbuilds cleanly.python3 -m unittest discover -s scripts -p 'test_parse_disciplines_gdoc.py'(11/11 OK) andscripts/tests(189/189 runnable locally;test_summariespasses in CI).python3 scripts/rebrand/check_source_rules.py --base origin/rebrand-doors— 0 violations.python3 scripts/check_seo_html.py— 28/28 checks pass locally.python3 scripts/rebrand/compare_builds.py— 0 removed/added addresses, 0 structured-data drops, 0 unexpected SEO changes.- Playwright design + axe-core + 200% text zoom + icon subset audit across all 6 lesson bank pages and
/privacy/at 390, 760, 900, 1024, and 1440 px (including all Activity 1 hint and quiz disclosures open) — 0 failures (implicit_biasoverflow:121 px → 0 px, 0 contrast failures, 0 axe Level A/AA violations, tablet tap targets≥44 px,.lesson-gridwidth1280 pxat 1440 px, first lesson card at761 pxon 390 px).
Created with Gemini 4 Neon in T3 Code (reviewed pre-PR with Claude Opus 5.5).












