Closed
Bug 1203967
Opened 10 years ago
Closed 10 years ago
The style for <optgroup> (in <select> form inputs) is too small and dark
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(b2g-master fixed)
RESOLVED
FIXED
FxOS-S10 (30Oct)
| Tracking | Status | |
|---|---|---|
| b2g-master | --- | fixed |
People
(Reporter: julienw, Assigned: heidi.kasemir, Mentored)
Details
(Keywords: foxfood, Whiteboard: [good first bug])
Attachments
(3 files)
STR:
1. search "mdn optgroup" on google.
2. click on the result for <optgroup> on developer.mozilla.org
(This is https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup, you can click on it directly here if you want, but I find it easier to search on a search engine).
3. scroll down the page to the example (the title is "Result")
Expected: the optgroup titles are easily readable, and should be more prominent than the items.
Actual: they're quite small and dark. We barely see them compared to the other items. It's even more obvious on Aries compared to Flame. On Flame I could accept it because the text is larger, but on Aries it's really too small. But even on Flame the fact that it's less visible than the items is weird.
Moreover the color contrast is not high enough to be accessible. Color is #858585 on top of #242424. According to http://webaim.org/resources/contrastchecker/ it would be good enough for large text, but here it's a small text.
NI FxOS UX to give more guidance.
Flags: needinfo?(firefoxos-ux-bugzilla)
Comment 1•10 years ago
|
||
Passing to przemek who is looking at the components.
Thanks for pinging the UX team!
Flags: needinfo?(firefoxos-ux-bugzilla) → needinfo?(pabratowski)
Comment 2•10 years ago
|
||
Hi Julien,
Let's update the text colour for the subheadings to #f4f4f4 to up the contrast and visibility.
Will we be about to update throughout the OS?
Thanks!
Flags: needinfo?(pabratowski)
| Reporter | ||
Comment 3•10 years ago
|
||
Yes, this style is defined only once in the System app.
| Reporter | ||
Comment 5•10 years ago
|
||
Mahendra, can we have the rationale of the removal please ?
Flags: needinfo?(mpotharaju)
Comment 6•10 years ago
|
||
Hey Julien,
We have the color already defined on comment 2. And in triage we thought the fix is small and should land. It shouldn't block 2.5 specifically.
Flags: needinfo?(mpotharaju)
| Reporter | ||
Comment 7•10 years ago
|
||
Marking as a mentored bug, otherwise nobody will do it.
Mentor: felash
Whiteboard: [good first bug]
| Assignee | ||
Comment 8•10 years ago
|
||
I'd like to take this one (my first bug!)
I had a question, though. Seems to me that the hierarchy of list items is a little backwards with the group label font size being smaller than the option font size. Would it be ok to change them so the group label is 2.2rem and the option item is 1.6rem? I'll attach a screen shot showing what that would look like (ScreenShot2015-10-23)
| Assignee | ||
Comment 9•10 years ago
|
||
Would this update be acceptable? Shows font color change (part of bug) as well as font size changes (outside of bug scope, but may improve experience)
Comment 11•10 years ago
|
||
(In reply to heidi.kasemir from comment #9)
> Created attachment 8678412 [details]
> ScreenShot2015-10-23.png
>
> Would this update be acceptable? Shows font color change (part of bug) as
> well as font size changes (outside of bug scope, but may improve experience)
Hi Heidi, thanks for the suggestion and screen! For now I would prefer to stick with the current sizing. The current design makes sense seeing as the sub headers are not tappable while the options are. This increases the hit targets for each items and makes them feel more interactable.
Flags: needinfo?(epang)
| Assignee | ||
Comment 12•10 years ago
|
||
ok, sounds good, I'll make the color change, but not the size change.
Comment 13•10 years ago
|
||
Updated•10 years ago
|
Assignee: nobody → heidi.kasemir
Updated•10 years ago
|
Attachment #8679096 -
Flags: review?(felash)
| Reporter | ||
Comment 14•10 years ago
|
||
Comment on attachment 8679096 [details] [review]
[gaia] hkasemir:1203967-optgroup-color > mozilla-b2g:master
I tried it on the device and this is really better :)
The final review should be someone from the System team though. Pavel, will you have a look at this simple change ?
Attachment #8679096 -
Flags: review?(pivanov)
Attachment #8679096 -
Flags: review?(felash)
Attachment #8679096 -
Flags: feedback+
Comment 15•10 years ago
|
||
Comment on attachment 8679096 [details] [review]
[gaia] hkasemir:1203967-optgroup-color > mozilla-b2g:master
I'm not from the System Team but I think that I can r+ this one :) looks better Thanks :)
Attachment #8679096 -
Flags: review?(pivanov) → review+
| Reporter | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 16•10 years ago
|
||
landed -> https://github.com/mozilla-b2g/gaia/commit/01b38b061958ab8593794f901a380b40de77cf70
Heidi, congratulations your patch landed and thanks for contributing to mozilla!
Status: NEW → RESOLVED
Closed: 10 years ago
status-b2g-master:
--- → fixed
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S10 (30Oct)
You need to log in
before you can comment on or make changes to this bug.
Description
•