Module talk:Adjacent stations/BART
Appearance
(Redirected from Module talk:Adjacent stations/BART/doc)
This module does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
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)
- 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)
- 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)