Issue Description
This specific subissue aims to address the several stylistic issues concerning the non clickable options of the File menu of the editor.
Namely:
- Changing the text color of the non-clickable menu option to adhere to WCAG guidelines
- Remove the on hover highlight for non-clickable menu options.
Location of the requested changes on the editor: https://editor.p5js.org/
Change Requested
WCAG guidelines state that non-text color contrast should be at least 3:1, and small text contrast should be 4.5:1. The foreground color the grayed out text is #747474, while the menu background color is #f0f0f0. This results in a color contrast ratio of 4.1:1.
Visuals
Original (grayed out text: #747474. Regular text: #333)
Text color modifications:
- Grayed out text:
#666 ($middle-dark)
- Regular text:
#1C1C1C($dark)
On Hover Tooltip:
Files to change
client/…/Header/Nav.jsx
client/…/components/_nav.scss
PR Criteria
Additional Resources:
Issue Description
This specific subissue aims to address the several stylistic issues concerning the non clickable options of the File menu of the editor.
Namely:
Location of the requested changes on the editor: https://editor.p5js.org/
Change Requested
WCAG guidelines state that non-text color contrast should be at least 3:1, and small text contrast should be 4.5:1. The foreground color the grayed out text is
#747474, while the menu background color is#f0f0f0. This results in a color contrast ratio of 4.1:1.#666Visuals
Original (grayed out text:
#747474. Regular text:#333)Text color modifications:
#666($middle-dark)#1C1C1C($dark)On Hover Tooltip:
Files to change
client/…/Header/Nav.jsxclient/…/components/_nav.scssPR Criteria
Additional Resources: