High contrast mode bugs and how to prevent them

Tim Nguyen ntim.bugs at gmail.com
Mon Feb 4 21:56:21 UTC 2019


Hello everyone,

A month ago, I filed a bunch of bugs regarding high contrast support for
the recent design changes to about:preferences and about:addons. They got
narrowly fixed and uplifted to Firefox 65 (thank you Gijs and mstriemer).

I've also recently noticed that Activity Stream has not been rendering
thumbnails or any images in high contrast mode since its first release:
https://bugzilla.mozilla.org/show_bug.cgi?id=1525140 (this has not been
fixed yet).

These bugs are due to some automatic adjustments that Gecko makes on pages
rendered in the content area with high contrast mode enabled for a11y
purposes.

Anyway, I wrote a new section in the CSS authoring guidelines page that
provides extensive guidance on how to fix, but mostly prevent such bugs
from happening in the future:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/CSS_Guidelines#High_contrast_mode

I hope you will find this helpful. Please let me know if you have any
questions.

Cheers,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/firefox-dev/attachments/20190204/02d4ab11/attachment.html>


More information about the firefox-dev mailing list