<div dir="ltr"><div>Over the last quarter, I've been focused on making Firefox properly support high contrast mode again. The tracking bug for this is <<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1016556">https://bugzilla.mozilla.org/show_bug.cgi?id=1016556</a>>.<br><br>In case you didn't know, high contrast mode is a collection of Windows themes tailored for users with not so good eyesight: <a href="https://support.microsoft.com/en-us/help/13862/windows-use-high-contrast-mode">https://support.microsoft.com/en-us/help/13862/windows-use-high-contrast-mode</a><br><br></div>There are four high contrast themes available, three of which have black as their base color and one black-on-white variant: <a href="http://thewindowsclub.thewindowsclubco.netdna-cdn.com/wp-content/uploads/2015/01/high-contrast-themes-windows.jpg">http://thewindowsclub.thewindowsclubco.netdna-cdn.com/wp-content/uploads/2015/01/high-contrast-themes-windows.jpg</a><br><div><div><br>High contrast mode considered an important accessibility feature. Formally we have always supported this, but in reality our support has been far from perfect and in many cases gotten worse over the years.<br><br>Here are a few screenshots to illustrate what kinds of bugs we've fixed:<br><br>Menu bar, search bar and about:home (before): <a href="http://imgur.com/vMXgZMm">http://imgur.com/vMXgZMm</a><br>Menu bar, search bar and about:home (after): <a href="http://imgur.com/a4Volo5">http://imgur.com/a4Volo5</a><br>Menu panel and customize mode (before): <a href="http://imgur.com/iBXWbeA">http://imgur.com/iBXWbeA</a><br>Menu panel and customize mode (after): <a href="http://imgur.com/n881M4v">http://imgur.com/n881M4v</a><br><br>As you can see, issues range from text being completely illegible and icons disappearing, over icons and text lacking contrast, to some parts of the UI not adjusting at all to high contrast themes.<br><br>Support still isn't perfect but a lot better than it used to be. Going forward we as a team will need to remind ourselves that high contrast mode is a thing and that we're committed to supporting it. Please keep this in mind when writing and reviewing patches. Please test your features in high contrast mode.<br><br>You might want to take a look at the fixed bugs to get a sense of what's needed to support high contrast mode. It often comes down to picking platform colors instead of hardcoding color values, or carefully picking color values that don't assume that everyone is using the same default OS theme. If you're unsure what's needed to make your feature properly support high contrast mode, feel free to ask me for feedback.<br><br>Regards,<br>Dao<br></div></div></div>