processing / p5.js-website

New p5.js website!
http://p5js.org
MIT License
16 stars 78 forks source link

Alt text in dark + monochrome mode #468

Closed xbarbie closed 2 months ago

xbarbie commented 3 months ago

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

Qianqianye commented 3 months ago

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.

AaratiAkkapeddi commented 2 months ago

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

tyler-yin commented 2 months ago

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.

Qianqianye commented 2 months ago

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