SmartCambridge / tfc_web

Web access to the TFC platform
MIT License
3 stars 2 forks source link

Review use of highlight colour on the bus_timetable #288

Open jw35 opened 5 years ago

jw35 commented 5 years ago

The multiline display uses #FF0000 on #FFFFFF for delayed buses. This isn't a sufficient contract for web accessibility. Either using #AD0000, or using #FFFFFF on the #FFDDDD background used for similar highlighting elsewhere would be better.

However if using a background it should probably apply to the entire timetable entry, not just the delay line.

jw35 commented 5 years ago

Colour fixed to #AD0000 in 37b7cd5d but we should consider reworking the display to use #000000 on a #FFDDDD background for the entirety of a problem entry as we do in other widgets.