Bug 512134 - Markdown viewer should render a darker gray for text
Summary: Markdown viewer should render a darker gray for text
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: Client (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P2 normal (vote)
Target Milestone: 14.0   Edit
Assignee: Carolyn MacLeod CLA
QA Contact:
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2017-02-13 12:16 EST by Carolyn MacLeod CLA
Modified: 2017-02-13 12:52 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carolyn MacLeod CLA 2017-02-13 12:16:29 EST
Open a *.md file to see a markdown editor (LHS) and viewer (RHS).
Text in the viewer is rendered as html 'gray' (#808080), which is not enough contrast for WCAG 2.0 AA against a white background.

Further, markdown 'code' is rendered on an off-white background (#fafafa), so in order to have enough contrast against that as well, the .orionMarkdown 'gray' needs to be #737373.
Comment 2 Carolyn MacLeod CLA 2017-02-13 12:51:35 EST
Argh - just noticed the yellow #f7f7d5 selection background color that happens in the viewer when you select an item in the editor.
I need to change the #737373 gray text to be just a little bit darker still, so that it contrasts enough with the yellow. #707070 is the closest passing color.

Fixed again with: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=32426e407e48323dae0aa3de556570cf9e294b66