Syntax highlighting contrast fails Web Content Accessibility Guidelines
Created by: dadlerj
Reported by https://app.hubspot.com/contacts/2762526/company/693777200
Discussion in Slack: https://sourcegraph.slack.com/archives/C0HMGV90V/p1602173122127700
What customization/color options do we have? I know there are some branding options, but have received feedback about colors that was unexpected.
And from the end user:
Light theme, comments are
#93A1A1
on#FFFFFF
, with a contrast of 2.67:1, which fails pretty much everything.Dark theme, they’re
#2B8A3E
on#0E121B
, with a contrast of 4.28:1, which only passes WCAG AA for large text (and objects/UI components), but fails AAA and AA for normal text.
The user suggested that simply adding a high contrast option would be a fine workaround for now