Closed Bug 1620734 Opened 6 years ago Closed 6 years ago

Color improvements in Perfherder Graphs View - Accessible Table View

Categories

(Tree Management :: Perfherder, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: yonashiro.mellina, Assigned: imskr)

References

Details

(Keywords: good-first-bug)

The Table view in Perfherder's Graphs View have some components which do not pass WCAG recommended contrast ratio.

This task's goal is to make sure all of the text/background color ratios pass the minimum ratio by changing some colors.
The exception is "job, compare" links when not :hover.

Please refer to this documentation piece when adjusting colors.

STR

  1. Open Perfherder's Graph view.
  2. Click "Add test Data". Choose 1 - 2 tests and click on "Plot graphs".
  3. Click on "Table View" button.
  4. This view is the one to have the colors changed.

Can I take this issue?

Assignee: nobody → shubhamkrai123
Status: NEW → ASSIGNED

Hi Sarah, which CSS file I have to make changes?

The changes are for this ui/perfherder/GraphsView/TableView file. But I'm not sure about the CSS file. Since Mellina filed this bug, she is the person to ask if you have questions.

Flags: needinfo?(yonashiro.mellina)

I added some styles in the perf.css file. It is located here.

Flags: needinfo?(yonashiro.mellina)

There are some colors that do not pass WCAG in perf.css here Should I remove them?

You need to be careful about removing styles that are being used. I think Mellina added those, so it'd be good to get input from her about changing them.

Flags: needinfo?(yonashiro.mellina)

You should try to find a close color to the one that doesn't pass. For example, if the gray color is too bright, and that is causing the not passing ratio, you should find a darker gray.

I have checked the file and there should one or two color changes to this bug.
It is probably easier to get you feedback after you send your first PR, as well.

Flags: needinfo?(yonashiro.mellina)
Priority: -- → P3
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.