Background
Windows features an operating system display mode called High Contrast Mode (WHCM). Unlike other display modes (for example setting dark mode flag), WHCM completely overrides authored colors with user-set colors in supporting browsers. IE/Edge but also Firefox/Win.
Here, when WHCM is active it relies on putting a certain color from its reduced palette on outline property disregarding transparent and only overrides the color value of the shorthand property. If we were to set outline: none it would fail to put a visible outline on the element.
Steps to Reproduce:
- Go to any page with a OOUI button
- Turn on high contrast mode
- Navigate to the button using keyboard
Actual Results:
- No focus is visible on the button
Expected Results:
- There should be a visual indication that the current button is in focus
Goal
Set a compliant rule to support our visible custom focus outlines while also supporting the WHCM overrides.

