musescore / musescore/MuseScore
Rethink accent colors for accessibility
@jessjwilliamson is already working on this.
Since Oct 12, 2023.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Currently, our accent colors in the light theme do not pass the 3:1 contrast ratio recommended for interactive elements. This means that when they are used in applications where there is no text, like the guitar bends diagram, they do not pass against the background color.
We should explore developing higher-contrast versions of these colors to make light mode more accessible to colorblind users.
Consider:
- Retaining transparency styles for buttons and adding outlines/other visual indicators of status
- Making selected elements a darker background color, which would require inverting text (this would get tricky on lighter accent colors like yellow and orange). Colors would need to pass against BG1 and BG2 at 70% opacity
Figma file:
https://www.figma.com/file/WAlqd1mWijVmIpQBScWhyd/Color-Accessibility?type=design&node-id=6-36&mode=design
More resources:
- Slack conversation about this
- Understanding Non-text contrast requirements (w3 article)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.