processing/p5.js-website

Alt text in dark + monochrome mode

Closed this issue · 4 comments

Most appropriate sections of the p5.js website?

Home

What is your operating system?

Windows

Web browser and version

Firefox 128.0 (20240704121409)

Actual Behavior

Alt text does has white color, while the rectangle has a very light gray (almost white) background color.
This issue is happening when the dark mode and monochrome modes are both selected at the same time, see the screenshots below.

alt_text_bug

Expected Behavior

Black background color for the rectangle and white color for the text. Or the opposite, black text on white background.

Steps to reproduce

No response

Would you like to work on the issue?

no

Thanks @xbarbie. I noticed this issue the other day as well, and I'm tagging the website designers @stefanietam @tyler-yin to take a look at this issue about alt text in dark + monochrome mode.

Hi! Happy to help with this when there is a decided behavior.

Thank you for documenting this issue. Either option (black text on white background OR white text on black background) are acceptable fixes to this. For consistency with alt text + dark mode, I recommend black text on white background.

Thank you all @AaratiAkkapeddi @tyler-yin @xbarbie! This is now resolved.