Closed Bug 455835 Opened 16 years ago Closed 15 years ago

make sure the message header pane works with a11y themes

Categories

(Thunderbird :: Message Reader UI, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0rc1

People

(Reporter: aaronlev, Assigned: clarkbw)

References

Details

(Keywords: access, regression, Whiteboard: [needs input clarkbw; at risk])

Attachments

(1 file)

There is a new theme for the message headers in Thunderbird.

The gray on blue color contrast for the labels is definitely too low. Even I with nearly perfect vision need to squint to make out from/subject/to/date. There's no chance for a lower vision person or a senior to make this out.

Here's a free color contrast algorithm and software analyser:
http://www.paciellogroup.com/resources/contrast-analyser.html

In addition, hardcoding the color into the theme is a section 508 violation. We need to follow the user's theme when they are using a special high contrast theme. You can use colors for nice effects but only when the user isn't setting that flag.

See http://www.access-board.gov/sec508/standards.htm
(g) Applications shall not override user selected contrast and color selections and other individual display attributes.

You can tell if the "high contrast theme" bit is set via
nsILookAndFeel::eMetric_UseAccessibilityTheme
http://mxr.mozilla.org/seamonkey/source/widget/public/nsILookAndFeel.h#206
In fact when that's set we automatically select the theme "classic", which is always supposed to obey the system colors. In that way you can make a special theme which uses fancier colors, but keep "classic" basic. The switch is here:
http://mxr.mozilla.org/seamonkey/source/chrome/src/nsChromeRegistry.cpp#603

I think the Firefox theme folks may have found another way around it, so that you can use more interesting colors than just the system colors.

But, no matter what you do, don't use gray on blue like that. Difficult to read for many people!
Flags: blocking-thunderbird3.0b1?
Summary: Contrast way too low for message header label apperance (from/subject/to/date) → Contrast way too low for message header labels (from/subject/to/date) -- also overriding system a11y themes
Please see bug 455801 (including the URL on that bug) - we know there are improvements we need to make here, and the current version isn't the final version.

As there's useful info here, leaving open and marking dependent so it doesn't get lost.
Depends on: 455801
Flags: blocking-thunderbird3.0b1?
Flags: blocking-thunderbird3.0b1-
Flags: blocking-thunderbird3+
Target Milestone: --- → Thunderbird 3.0b1
We'll tentatively try and get this for beta 1, but there's some risk we'll end up relnoting and fixing it after beta 1.
Whiteboard: [needs input clarkbw]
Whiteboard: [needs input clarkbw] → [needs input clarkbw; at risk]
Keywords: regression
OS: Windows XP → All
Hardware: PC → All
I did an alternate look the other day that uses the Tango palette ( http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines )

However I think it's probably a little too late to move towards this, however I want to think about lighter header background colors with darker text.

background-color: #eeeeec
header text: #2e3436
header label: #888a85

The label / bg colors don't pass all the tests on the contrast tester, however it is much closer.
attachment https://bugzilla.mozilla.org/attachment.cgi?id=339386 shows the proposed theme for b1, with grey levels picked using the contrast tool.  Thanks!

We need to investigate what to do about the high-contrast theme bit, as AFAIK Thunderbird doesn't have such a theme ("pinstripe" and "qute" only in trunk, not sure if 2.0 was the same).
That looks much better!
Re the high-contrast theme, as i understand it it's not necessarily a *thunderbird* theme, but you enable a high-contrast theme on the system level, and the idea is that thunderbird should pick up on the system settings. (xref bug 417238/bug 382299)
Summary: Contrast way too low for message header labels (from/subject/to/date) -- also overriding system a11y themes → make sure the message header pane works with a11y themes
Target Milestone: Thunderbird 3.0b1 → Thunderbird 3.0b2
Target Milestone: Thunderbird 3.0b1 → Thunderbird 3.0b2
How can we get people to tell us what problems there are w/ system-level high contrast themes on the various OSes?
Post to m.d.accessibility, though presumably if Marco or Aaron were to blog something, that would get broader pickup.
taking and bumping to b3.
Assignee: nobody → clarkbw
Target Milestone: Thunderbird 3.0b2 → Thunderbird 3.0b3
Blocks: themea11y
Component: Mail Window Front End → Message Reader UI
QA Contact: front-end → message-reader
in linux this should be fixed bug 456829/bug 461098

I was a little worried about the gray text not giving enough contrast so I changed it away from the CSS system color.
bug 461098 landed today, if you can check out a nightly release later tonight and update this bug.  Thanks.
Target Milestone: Thunderbird 3.0b3 → Thunderbird 3.0rc1
Firefox is doing an interesting hack here for detecting the default windows theme that allows them to style windows in a nicer manner if the default theme is running and then fallback to css system colors otherwise.

checkout:
http://mxr.mozilla.org/firefox/source/browser/themes/winstripe/browser/browser-aero.css

If we have the time for working on this it would be nice to follow firefox and do the right thing here.
I believe this is fixed.  On Linux we're back to using css system colors everywhere such that it picks up from the system theme change for high contrast.  Mac has a different (and much better) system for doing this.  Windows uses a "theme" like system but the colors haven't been touched AFAIK.  If we wanted to have a different set of colors for windows and a more accessible theme we could use what I found in comment 11
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: