Closed
Bug 1009812
Opened 10 years ago
Closed 10 years ago
New error page is poor color contrast.
Categories
(Firefox :: Theme, defect)
Firefox
Theme
Tracking
()
People
(Reporter: alice0775, Assigned: poiru)
References
Details
(Keywords: access, regression)
Attachments
(5 files, 1 obsolete file)
163.22 KB,
image/png
|
Details | |
181.65 KB,
image/png
|
Details | |
428.80 KB,
image/png
|
Details | |
2.44 MB,
image/png
|
Details | |
2.00 KB,
patch
|
Unfocused
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Build Identifier: https://hg.mozilla.org/mozilla-central/rev/4b6d63b05a0a Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0 ID:20140513030201 New error page is poor color contrast! Foreground : #737980, background : #EDEDED Contrast Ratio : 3.76 < text should have a ratio of at least 7:1 (larger text, at least 4.5:1). ( http://snook.ca/technical/colour_contrast/colour.html ) STR 1. Show error page Actual Results: The error page is poor color contrast. Expected Results: More readable!
Comment 1•10 years ago
|
||
VT, can we make the text darker so as to fix this? (I think 4.5 is fine; the text is pretty big, and this is about AAA vs. AA compliance, IIRC)
Component: General → Theme
Flags: needinfo?(vtsatskin)
Keywords: access,
regression
OS: Windows 7 → All
Hardware: x86_64 → All
Comment 2•10 years ago
|
||
Turns out I was not using the colours we use in about:preferences (can't remember where I got these colours from). I've updated the text and icon to use the right colours. The new contrast ratio is 7.26, which should be in the acceptable range. Alice, please confirm.
Attachment #8423266 -
Flags: review?(bmcbride)
Flags: needinfo?(vtsatskin) → needinfo?(alice0775)
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
![]() |
Reporter | |
Comment 5•10 years ago
|
||
(In reply to Valentin Tsatskin [:vt] from comment #4) > Created attachment 8423296 [details] > after.png It is OK for me.
Flags: needinfo?(alice0775)
Comment 6•10 years ago
|
||
Comment on attachment 8423266 [details] [diff] [review] 1009812.patch You haven't updated the button color.
Attachment #8423266 -
Flags: review?(bmcbride) → review-
Comment 7•10 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #6) > Comment on attachment 8423266 [details] [diff] [review] > 1009812.patch > > You haven't updated the button color. This was intentional to match the visual style of about:preferences. For the sake of consistency we should have all the buttons look the same. So if I were to update the button colour, I would need to do the same for about preferences. I'm going to needinfo on mmaslaney on this one. Alice, is the button foreground and background colour's contrast in the acceptable ranges?
Flags: needinfo?(alice0775)
Updated•10 years ago
|
Flags: needinfo?(mmaslaney)
![]() |
Reporter | |
Comment 8•10 years ago
|
||
(In reply to Valentin Tsatskin [:vt] from comment #7) > (In reply to Dão Gottwald [:dao] from comment #6) > > Comment on attachment 8423266 [details] [diff] [review] > > 1009812.patch > > > > You haven't updated the button color. > > This was intentional to match the visual style of about:preferences. For the > sake of consistency we should have all the buttons look the same. So if I > were to update the button colour, I would need to do the same for about > preferences. I'm going to needinfo on mmaslaney on this one. > > Alice, is the button foreground and background colour's contrast in the > acceptable ranges? If the button is enabled state, I think that it should be contrast a little more. I want to compare between enabled state and disabled state of the button. (Is there the place(public url) showing the appearance of all in-content UI parts?)
Flags: needinfo?(alice0775)
Comment 9•10 years ago
|
||
(In reply to Alice0775 White from comment #8) > (In reply to Valentin Tsatskin [:vt] from comment #7) > > (In reply to Dão Gottwald [:dao] from comment #6) > > > Comment on attachment 8423266 [details] [diff] [review] > > > 1009812.patch > > > > > > You haven't updated the button color. > > > > This was intentional to match the visual style of about:preferences. For the > > sake of consistency we should have all the buttons look the same. So if I > > were to update the button colour, I would need to do the same for about > > preferences. I'm going to needinfo on mmaslaney on this one. > > > > Alice, is the button foreground and background colour's contrast in the > > acceptable ranges? > > If the button is enabled state, I think that it should be contrast a little > more. Right, my concern is that the button looks disabled when its label is not as dark as the surrounding text.
Comment 10•10 years ago
|
||
(In reply to Alice0775 White from comment #8) > > (Is there the place(public url) showing the appearance of all in-content UI > parts?) Currently there is not, however, the UX team is currently working to document all of our visual style in one place. You can see a VERY early draft here: http://people.mozilla.org/~jgruen/chameleon/ If you would like to contribute your accessibility expertise, the github repository can be found here: https://github.com/johngruen/project-dfa However, to answer your question, I will be uploading a screenshot of both types of buttons side-by-side shortly. (In reply to Dão Gottwald [:dao] from comment #9) > Right, my concern is that the button looks disabled when its label is not as > dark as the surrounding text. I totally agree, I had the same thought. We should figure how to make the enabled button not look like a disabled button while still keeping things consistent between about:preferences and this page. This might mean updating the about:preferences buttons. Once again, I'll differ the design work to mmaslaney as he is the one who designed about:preferences.
Comment 11•10 years ago
|
||
The button on the left is the enabled state and the button on the right is the disabled state. The foreground colour of the enabled button is #737980 and the background colour is roughly #F8F8F8 (it's a gradient, I took the middle colour). The foreground colour of the disabled button is #B7BABD and the background colour is roughly #F5F5F5. Are these colours in acceptable ranges?
Flags: needinfo?(alice0775)
![]() |
Reporter | |
Comment 12•10 years ago
|
||
When they are adjacent, I can determine which is an enabled state button. However, when it is placed independent, it seems to be hard to determine whether it is enabled state. I think that text color of enabled button should be more dark.
Flags: needinfo?(alice0775)
Comment 13•10 years ago
|
||
Val, below is an example of the new inContent design in action. You'll notice the increased contrast between the type and background. I would suggest changing the type color globally to hex #333333.
Flags: needinfo?(mmaslaney)
Updated•10 years ago
|
Assignee | ||
Comment 14•10 years ago
|
||
The text and background color now match: http://mxr.mozilla.org/mozilla-central/source/browser/themes/shared/incontentprefs/preferences.css#8 And the button color matches: http://mxr.mozilla.org/mozilla-central/source/browser/themes/shared/incontentprefs/preferences.css#126
Assignee: nobody → birunthan
Attachment #8423266 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #8462335 -
Flags: review?(bmcbride)
Comment 15•10 years ago
|
||
This is the first time changing the background colour has been mentioned. mmaslaney: Do we want that changed to a flat colour, or kept as a gradient?
Flags: needinfo?(mmaslaney)
Comment 16•10 years ago
|
||
Blair, we are moving forward with the flat styled icons.
Flags: needinfo?(mmaslaney)
Assignee | ||
Comment 17•10 years ago
|
||
(In reply to mmaslaney from comment #16) > Blair, we are moving forward with the flat styled icons. Just to clarify, Blair was talking about the page background color. Is it OK to change it from `linear-gradient(#fff, #ededed 100px)` to `#f1f1f1`?
Flags: needinfo?(mmaslaney)
Comment 18•10 years ago
|
||
Apologies, yes, please adjust the background to a flat color value of #f1f1f1.
Flags: needinfo?(mmaslaney)
Updated•10 years ago
|
Flags: firefox-backlog?
Updated•10 years ago
|
Attachment #8462335 -
Flags: review?(bmcbride)
Attachment #8462335 -
Flags: review+
Attachment #8462335 -
Flags: checkin?
Assignee | ||
Comment 19•10 years ago
|
||
Comment on attachment 8462335 [details] [diff] [review] Change about:neterror text/background colors to match about:preferences I'll check it in later.
Attachment #8462335 -
Flags: checkin?
Assignee | ||
Comment 20•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a3579f0a6339
Comment 21•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a3579f0a6339
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 34
Updated•10 years ago
|
Iteration: --- → 34.1
QA Whiteboard: [qa?]
Flags: firefox-backlog? → firefox-backlog+
Updated•10 years ago
|
QA Whiteboard: [qa?] → [qa+]
QA Contact: florin.mezei
Comment 22•10 years ago
|
||
To verify this I compared the May 12th build to the latest Firefox 34 Nightly (BuildID: 20140801030201) on Win 7 x64, Win 8 x64, Ubuntu 12.10 x86, Mac OS X 10.6.8. The contrast for the text and button is improved.
Comment 23•10 years ago
|
||
It's too late to get this fix into 32 but there is still time to uplift to 33. poiru - Do you want to request approval to uplift this fix to Firefox 33 this week while it is on Aurora?
Assignee | ||
Comment 24•10 years ago
|
||
Comment on attachment 8462335 [details] [diff] [review] Change about:neterror text/background colors to match about:preferences Approval Request Comment [Feature/regressing bug #]: Bug 982347 [User impact if declined]: Poor contrast on about:neterror pages. [Describe test coverage new/current, TBPL]: None, verified locally and by QA. [Risks and why]: Very low, only color changes in .css/.svg files. [String/UUID change made/needed]: No. This patch (or https://hg.mozilla.org/mozilla-central/rev/a3579f0a6339) should apply as-is on top of mozilla-aurora. (In reply to Lawrence Mandel [:lmandel] from comment #23) > poiru - Do you want to request approval to uplift this fix to Firefox 33 > this week while it is on Aurora? Done.
Attachment #8462335 -
Flags: approval-mozilla-aurora?
Flags: needinfo?(birunthan)
Updated•10 years ago
|
Attachment #8462335 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•10 years ago
|
QA Whiteboard: [qa!]
Flags: qe-verify+
Comment 26•10 years ago
|
||
Verified as fixed using Firefox 33 beta 2 (20140908190852) under Win 7 64-bit, Ubuntu 12,10 32-bit and Mac OSX 10.9.4.
You need to log in
before you can comment on or make changes to this bug.
Description
•