Closed
Bug 1324172
Opened 8 years ago
Closed 7 years ago
Indented descriptions should use a lighter font color
Categories
(Firefox :: Settings UI, defect, P1)
Firefox
Settings UI
Tracking
()
VERIFIED
FIXED
Firefox 56
People
(Reporter: jaws, Assigned: evanxd, Mentored)
References
(Blocks 1 open bug)
Details
(Whiteboard: [photon-preference])
Attachments
(2 files)
From slide 12 and 13 of https://bugzilla.mozilla.org/attachment.cgi?id=8819509
Comment 1•8 years ago
|
||
Thought most of the feedback in that guideline was fair, but found little to justify this change - Font is smaller & already indented, however robbing it of the contrast to the background makes it harder to read.
Hopefully if this change does happen it wont be as light as their example.
Reporter | ||
Comment 2•8 years ago
|
||
Using the DevTools I checked the font-sizes and in what we are shipping the font is not smaller.
For the gray text we will use 'color: GrayText', which on my machine results in rgb(109,109,109). The background-color of the page is rgb(251,251,251). Using WCAG Contrast formula (simple web form available at http://webaim.org/resources/contrastchecker/), there is a 5:1 contrast ratio between the two colors. This contrast passes the Normal Text WCAG AA test and fails the WCAG AAA test. I haven't seen us require WCAG AAA in other parts of our UI.
I measured the font-size difference in the spec. The indented text is one pixel shorter in height from the screenshots, so it would be a subtle difference but shouldn't affect readability.
Reporter | ||
Comment 3•8 years ago
|
||
The spec says:
font-size: 13px
font-color: #858585
line-height: 21px
Updated•8 years ago
|
Assignee: nobody → manotejmeka
Mentor: mconley, jaws
Updated•8 years ago
|
Status: NEW → ASSIGNED
Updated•8 years ago
|
Assignee: manotejmeka → nobody
Status: ASSIGNED → NEW
Comment 4•8 years ago
|
||
Hey Jared, are we okay to proceed with the spec's colours, or should we go back to UX (or a11y) and have them evaluate?
Flags: needinfo?(jaws)
Reporter | ||
Comment 5•8 years ago
|
||
I think the colors here will be okay as far as contrast goes, after the examination I did in comment #2, but I am a bit worried that users may think this is disabled text and not supplemental text. Let's bring that up with UX.
Tina, what are your thoughts about people confusing the text for being disabled or not being applicable because they think it is disabled?
Flags: needinfo?(jaws) → needinfo?(thsieh)
Comment 6•8 years ago
|
||
Hey Jared,
I won't see it as a possibility to confuse people since the description has no checkbox in the front. The font color #858585 is accessible and can easily be distinguished from the option text.
I had a discussion with our visual designer Helen. She made an example that shows the comparison of the normal state, current disabled state, and the disabled state with lower opacity (30%). Making the opacity lower to show the differentiation might be a choice, but it's not accessible and different from the opacity defined in the current Firefox styleguide.
Since I don't think the proposed font will confuse people and we need the option text to stand out from lines, I'll suggest us to use the proposed description font :)
Flags: needinfo?(thsieh)
Reporter | ||
Comment 7•8 years ago
|
||
Thank you, the lower opacity (30%) looks to have far too low contrast to be usable. We can use the "proposed font" color, #858585 and leave the font-size and line-height unchanged.
Hi Helen,
Kindly provide the final specs for this after your call tonight.
Thanks!
Flags: needinfo?(hhuang)
Whiteboard: [photon-preference]
Updated•8 years ago
|
Flags: qe-verify+
QA Contact: hani.yacoub
Comment 9•8 years ago
|
||
Sorry for the late reply.
Base on the latest color palette, I will change the font color to #737373, please help to fix this, thanks!
Flags: needinfo?(hhuang)
Updated•8 years ago
|
Priority: -- → P2
Target Milestone: --- → Firefox 57
Comment 10•8 years ago
|
||
This is a stlying follow up for re-org, not visual update for 57.
Target Milestone: Firefox 57 → Firefox 55
Updated•7 years ago
|
Target Milestone: Firefox 55 → Firefox 57
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Comment 14•7 years ago
|
||
Sorry I didn't look through this issue carefully! Let's ask Tina for confirmation.
Reorg v2 (bug 1365133) is ready to land in 56. This change mentioned in description was targeting on Reorg v1 in 55.
Tina, can you confirm that this change will need to be shipped in Reorg v1 (55) or Reorg v2 (56) or both? Otherwise, does it cover by visual refresh spec in 57 so that we can do it with a sweep in 57 implementation?
Flags: needinfo?(rchien) → needinfo?(thsieh)
Comment 15•7 years ago
|
||
Hey Ricky,
The description font style is very important for visual hierarchy. The style we use in 57 is the same us what we proposed before, so there won't be a repetitive work. Let's implement in 56 or even earlier :)
Flags: needinfo?(thsieh)
Updated•7 years ago
|
Target Milestone: Firefox 57 → Firefox 56
Updated•7 years ago
|
Updated•7 years ago
|
Status: REOPENED → NEW
Comment 16•7 years ago
|
||
Hi Helen,
We'd like to get double confirmation here. Can you tell us that the proposed font for descriptions is same with the style we use in 57 and even it won't be a repetitive work as well, is that still recommended to land in 56?
Thanks
Updated•7 years ago
|
Flags: needinfo?(hhuang)
Whiteboard: [photon-preference]
Comment 17•7 years ago
|
||
Yes, the font style for descriptions in 57 is same as what we proposed before, and that will be great if it could land in 56.
font-size: 13px
font-color: #737373
Flags: needinfo?(hhuang)
Updated•7 years ago
|
Assignee: nobody → rchien
Status: NEW → ASSIGNED
Priority: P2 → P1
Assignee | ||
Updated•7 years ago
|
Assignee: rchien → evan
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8884756 -
Flags: review?(jaws)
Assignee | ||
Comment 20•7 years ago
|
||
Hi Jared,
Could you help review the patch?
Thank you.
Reporter | ||
Comment 21•7 years ago
|
||
mozreview-review |
Comment on attachment 8884756 [details]
Bug 1324172 - Add css styles for indented descriptions.
https://reviewboard.mozilla.org/r/155642/#review161434
::: browser/components/preferences/in-content-new/main.xul:908
(Diff revision 1)
> - <description id="contentProcessCountEnabledDescription">&limitContentProcessOption.description;</description>
> - <description id="contentProcessCountDisabledDescription">&limitContentProcessOption.disabledDescription;<label class="text-link" href="https://wiki.mozilla.org/Electrolysis">&limitContentProcessOption.disabledDescriptionLink;</label></description>
> + <description id="contentProcessCountEnabledDescription" class="light">&limitContentProcessOption.description;</description>
> + <description id="contentProcessCountDisabledDescription" class="light">&limitContentProcessOption.disabledDescription;<label class="text-link" href="https://wiki.mozilla.org/Electrolysis">&limitContentProcessOption.disabledDescriptionLink;</label></description>
Please undo these changes, see the other review comment for why.
::: browser/themes/shared/incontentprefs/preferences.inc.css:15
(Diff revision 1)
> +description.indent,
> +description.light {
> + font-size: 1.18rem;
> + color: #737373;
Please just use:
description.indent,
.indent > description {
font-size: 1.18rem;
color: #737373;
}
Attachment #8884756 -
Flags: review?(jaws) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 24•7 years ago
|
||
Updated the patch for the review comments. Thank you for review, Jared.
Let's land the patch after the try[1] is good.
[1]: https://treeherder.mozilla.org/#/jobs?repo=try&revision=a049fe4d7e1e
Comment 26•7 years ago
|
||
Pushed by rchien@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b940bc3aab48
Add css styles for indented descriptions. r=jaws
Keywords: checkin-needed
Comment 27•7 years ago
|
||
We're sorry - something has gone wrong while rewriting or rebasing your commits. The commits being pushed no longer match what was requested. Please file a bug.
Comment 28•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago → 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Comment 29•7 years ago
|
||
Build ID: 20170817100132
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Verified as fixed on Firefox Nightly 57.0a1 on Windows 10 x 64, Mac OS X 10.12 and Ubuntu 16.04 x64.
Status: RESOLVED → VERIFIED
status-firefox57:
--- → verified
You need to log in
before you can comment on or make changes to this bug.
Description
•