Module talk:Adjacent stations/BART

{{WikiProject banner shell|

{{WikiProject Trains}}

}}

Adding overcolored template

I am adding the {{tl|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)

:That change would improve color contrast from [https://webaim.org/resources/contrastchecker/?fcolor=FFFFFF&bcolor=0099D8 3.2] to [https://webaim.org/resources/contrastchecker/?fcolor=000000&bcolor=0099D8 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 [https://webaim.org/resources/contrastchecker/?fcolor=000000&bcolor=EFEFEF 18.26]. Mackensen (talk) 04:00, 5 October 2024 (UTC)

::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)