Open
Description
Describe the bug
Sometimes text just isn't legible and therefore not accessible.
Expected behavior
Background and text should be verified to be WCAG compliant together before being allowed to post
Screenshots
https://twitter.com/lgbtqotd/status/1321920117551353856
Additional context
A suggested fix I was given:
- read rgb value of pixel wit python pillow
- then use the map function to apply the side by side contrast formula
- Then use map again to set the pixels meeting the contrast threshold to white and the rest to black, then flatten the numpy array and feed back to the image library to make a contrast image.
Don't forget to follow the bot on Twitter to see the hard work you put in.