You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When switching to high contrast mode in p5.editor.js, selecting the text using the cursor changes the selection background to a light color, but the text color is not changed in that selection.
Expected Behavior
The color contrast should be as per recommended standard (https://webaim.org/resources/contrastchecker/) and the text should be clearly visible even in high contrast mode. The comment text is barely visible/readable for example.
Steps to reproduce
Steps:
1.Change p5.editor.js to high contrast mode in preference modal 2.Select a text in editor 3. View that the text is barely visible inside the selection as the selection rectange is light color.
Snippet:
// Paste your code here :)
The text was updated successfully, but these errors were encountered:
dsaw
changed the title
Color contrast is poor when selecting editor text in high contrast mode
Accessibility: Color contrast is poor when selecting editor text in high contrast mode
Mar 22, 2025
p5.js version
No response
What is your operating system?
Windows
Web browser and version
No response
Actual Behavior
When switching to high contrast mode in p5.editor.js, selecting the text using the cursor changes the selection background to a light color, but the text color is not changed in that selection.
Expected Behavior
The color contrast should be as per recommended standard (https://webaim.org/resources/contrastchecker/) and the text should be clearly visible even in high contrast mode. The comment text is barely visible/readable for example.
Steps to reproduce
Steps:
1.Change p5.editor.js to high contrast mode in preference modal 2.Select a text in editor 3. View that the text is barely visible inside the selection as the selection rectange is light color.
Snippet:
// Paste your code here :)
The text was updated successfully, but these errors were encountered: