Badge contrast — WCAG 2.2 AA verification
Badge Use Foreground Background Ratio AA (4.5:1)
774 citations Citation count #000000 #f7f5f5 Neutral-100 19.33:1 ✓ Pass
FWCI 6.1 FWCI > 1.0 #ffffff #d73f09 Beaver Orange 4.56:1 ✓ Pass
Gold OA Gold open access #000000 #ffb500 Luminance 11.9:1 ✓ Pass
Green OA Green open access #ffffff #4a773c Pine Stand 5.3:1 ✓ Pass
Bronze OA Bronze open access #000000 ⚠ #d3832b Solar Flare 7.0:1 ✓ Pass
Hybrid OA Hybrid open access #ffffff #006a8e Stratosphere 6.0:1 ✓ Pass
Closed No free version #2e2b2a #e9e5e4 Neutral-200 10.3:1 ✓ Pass

Badge text renders at ~0.75em (≈10–11px at typical body sizes) — well below 18px, so the strict 4.5:1 threshold applies. All pass.

⚠ Bronze OA (Solar Flare): must use black text. White text on #d3832b = 2.98:1 — fails AA. This is a known limitation of the OSU brand color palette (originally designed without WCAG digital requirements).


Widget 1 — Publication badge Appears on individual publication pages. Trigger: [data-doi] on the container element.
A — Madrone Card openalex-pub-badge--madrone-card
Desktop — hover FWCI and OA badge for tooltips
 
Top 10%
of publications in 2024
Mobile (320px)
 
Top 10%
of publications in 2024
Air pollution Birth weight
View on OpenAlex

B — Madrone Strip openalex-pub-badge--madrone-strip
Desktop — hover FWCI and OA badge for tooltips
Hybrid Open Access OpenAlex
Mobile (320px) — vertical stack
Hybrid Open Access OpenAlex

C — Madrone Bold openalex-pub-badge--madrone-bold
Desktop — hover FWCI and OA badge for tooltips
Top 10%
Air pollution Birth weight
View on OpenAlex
Mobile (320px)
Top 10%
Air pollution Birth weight
View on OpenAlex

Widget 2 — Faculty author panel Appears on faculty profile pages. Trigger: [data-orcid] on the container element. Real data: Perry Hystad, OSU.

A — Madrone Card openalex-author-panel--madrone-card
Recent publications
 
Perry Hystad
60
h-index
269
Works
16.2K
Citations
4.53
FWCI
Most cited publications
 
Perry Hystad
60
h-index
269
Works
16.2K
Citations
4.53
FWCI
No publications list
 
Perry Hystad
60
h-index
269
Works
16.2K
Citations
4.53
FWCI

B — Madrone Strip openalex-author-panel--madrone-strip
Most cited publications
No publications list
Perry Hystad
60
h-index
269
Works
16.2K
Citations
4.53
FWCI

C — Madrone Bold openalex-author-panel--madrone-bold
Recent publications
Perry Hystad
60
h-index
269
Works
16.2K
Citations
4.53
FWCI
Most cited publications
Perry Hystad
No publications list
Perry Hystad
60
h-index
269
Works
16.2K
Citations
4.53
FWCI

Long-name stress test — Kari-Lyn K. Sakuma

Real OpenAlex data. h-index 18 · 64 works · 1,337 citations · FWCI 0.25. "Kari-Lyn K. Sakuma" is 50% longer than "Perry Hystad" — the Strip variant (B) is most sensitive because the name sits inline with the stats.

A — Card
 
Kari-Lyn K. Sakuma
18
h-index
64
Works
1.3K
Citations
0.25
FWCI
Recent publications
B — Strip
Kari-Lyn K. Sakuma
18
h-index
64
Works
1.3K
Citations
0.25
FWCI
C — Bold
Kari-Lyn K. Sakuma
18
h-index
64
Works
1.3K
Citations
0.25
FWCI
Recent publications

FWCI 0.25 (below world average) is still shown in the faculty panel — all author stats display regardless of value. FWCI badge suppression applies only to the list mini-badge widget. Strip B wraps gracefully at this column width; verify at narrower viewports if needed.


Widget 3 — List mini-badge Appears in publication list views. Trigger: openalex-list-badge openalex-list-badge--madrone with [data-doi]. Badge order: OA status → citations → FWCI. FWCI badge only shown when > 1.0.
In context — Drupal publication list view

All five OA badge types shown across six sample entries. Hover any OA badge or FWCI badge for tooltip.

Row 5: no FWCI badge — paper too new to have a meaningful score (FWCI ≤ 1.0). OA status (Gold) still shown.


OA badge types — colors and definitions
Badge OA type OSU color Meaning Text color
Gold OA Gold Luminance #ffb500 Published in a fully open-access journal Black (11.9:1)
Green OA Green Pine Stand #4a773c Free via repository (PMC, preprint, institutional) White (5.3:1)
Bronze OA Bronze Solar Flare #d3832b Free on publisher site, no open license Black required (7.0:1 ✓ — white fails at 2.98:1)
Hybrid OA Hybrid Stratosphere #006a8e Open-access article in subscription journal (APC paid) White (6.0:1)
Closed Closed Neutral-200 #e9e5e4 No free version available Neutral-800 (10.3:1)

FWCI badge display logic
FWCI value Badge shown? Rationale
Not available No OpenAlex hasn't computed it yet
≤ 1.0 No At or below world average — no highlight warranted
> 1.0 FWCI 1.8 Above world average — Beaver Orange badge draws attention

Suppressing low FWCI values avoids surfacing poor scores for new papers that haven't yet accumulated citations. A 2025 paper with FWCI 0.2 is completely normal.

All badge colors pass WCAG 2.2 AA (4.5:1 minimum for small text). Font sizes use rem throughout. Bronze OA badge uses black text on Solar Flare — white text on that color fails AA at 2.98:1. External link arrows (↗) omitted from markup — added automatically by the Drupal Link Purpose module.

OSU College of Health · Web & Digital · 2026 · OpenAlex widget project