Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a22308c67bcc64c2

Jump to content

Module talk:Adjacent stations/BART

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 1 year ago by RickyCourtney in topic Adding overcolored template

Adding overcolored template

[edit]

I am adding the {{overcolored}} template to the documentation for this module.

I believe the following lines of code are causing BART station infoboxes to display section titles which violate WCAG 2.1 AA accessibility rules for contrast:

["header background color"] = "0099d8", ["header text color"] = "ffffff",

I believe more accessible code would be:

["header background color"] = "0099d8", ["header text color"] = "000000",

Thisisnotatest (talk) 03:50, 5 October 2024 (UTC)Reply

That change would improve color contrast from 3.2 to 6.54, which meets WCAG 2.1 AA but maybe not AAA. I suspect that outcome feels counterintuitive for folks with good eyesight. I note that going with the default colors (removing both customizations) would improve contrast to 18.26. Mackensen (talk) 04:00, 5 October 2024 (UTC)Reply
I vote for the default. This is all just eye candy anyways. There’s absolutely no sense in alienating a sizable group of users in the name of something that “looks cool.” RickyCourtney (talk) 20:29, 5 October 2024 (UTC)Reply