Closed Bug 373011 Opened 18 years ago Closed 18 years ago

link colors (blue, red, purple) are hard-coded against system colors (-moz-dialog, -moz-field)

Categories

(Firefox :: Shell Integration, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 371870

People

(Reporter: dao, Unassigned)

Details

(Keywords: access)

I was looking for where the blue color for links inside of the Fx UI comes from (in order to use it for bug 366797), and I found that it's widely hard-coded against variable system colors like -moz-dialog and -moz-field. E.g.: http://lxr.mozilla.org/mozilla/source/browser/themes/winstripe/browser/feeds/subscribe.css#142 As far as I can tell, that's an a11y problem. A new color keyword like -moz-linkText (resp. activeLinkText, visitedLinkText) is needed. It should be blue by default but s.th. different if it's too close to -moz-dialog, -moz-field or InfoBackground. A possible algorithm is described at http://www.w3.org/TR/AERT#color-contrast.
The links that use the text-link binding are covered by bug 371870. Others that aren't, probably should be using it.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.