Skip to content

Jagged Hyperlink Text (Dark Mode) #518

@alex-is-disconnected

Description

@alex-is-disconnected

Most appropriate sections of the p5.js website?

Other (specify if possible)
Any page on the new p5.js website

What is your operating system?

Windows 11 Pro 10.0.22631, MacOS Ventura 13.3.1, Android 14 (Tested on multiple devices + browsers)

Web browser and version

Chrome 128.0 (on Windows and Android), Firefox 130.0, Microsoft Edge 128.0, Chrome 123.0 (on MacOS)

Actual Behavior

Heyo!

I was just trying out the new p5.js site in dark mode and noticed the typography (particularly the magenta text) was looking super jagged/aliased. on some screens, regardless of browser. Magenta hyperlink text has a thin outline on high PPI screens (Mobile and MacOS Retina) so the source of the aliasing is most likely that. The outline is the same color as the base text. Tested in light mode and the issue is there but not as noticeable. My guess is that this could also be linked to this issue someone else brought up about blurred text.

Screenshot of jagged text on Chrome browser on Windows device with low PPI screen

^ This is what the text looks like on Chrome on a Windows device

Screenshot_2024-09-06_at_7 29 45_PM

^ This is what the text looks like on Chrome on a MacOS device

Screenshot_2024-09-06_at_7 29 45_PM

^ This is what the text looks like on Chrome on a Android 14 phone

Expected Behavior

Not sure if this behavior is intended/expected as it does appear on other pages as well. It does make the typography look worse on low PPI screens and overall harder to read.

Steps to reproduce

Navigate to any page with the magenta-colored hyperlink text. Effect worsens with lower PPI screens.

Would you like to work on the issue?

Sure, I'd be happy to work on the issue! 😁 Just identify which solution (see below) would be desired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions