bitvijays / AirPollutionDataPlatform

Platform for air pollution
0 stars 2 forks source link

Get pollution data / From location / Air Pollution Data - Accessibility and Readability #12

Open kwmc-lucas opened 3 years ago

kwmc-lucas commented 3 years ago

The 'What it means' section has different colour text. Yellow is known to be hard to read on a white background, perhaps there would be a better way of displaying this information?

Additionally, differentiating things solely by colour might not be accessible for those who have colour-blindness.

bitvijays commented 3 years ago

@anshulgaikwad01 This is defined in https://github.com/Kevjolly/AirPollutionDataPlatform/blob/master/website/public/views/datafromlocation.html#L219 and the span_id levels_pollution is probably defined in https://github.com/Kevjolly/AirPollutionDataPlatform/blob/master/website/public/js/map.js#L645

I think colors are defined here

https://github.com/Kevjolly/AirPollutionDataPlatform/blob/master/website/service/airdata-service.js#L86

Could you have a look to ensure that Yellow color is not present?

@kwmc-lucas Do we have any suggestions, how to provide the same information for people who have color blindness?