-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking and documenting high contrast #1460
Comments
@carmacleod Comment from Carolyn: Comment from @a11ydoer |
List of examples that were previously noted to have mobile/touch issues: #8 (comment) |
Thanks for adding the related issue to this one, @carmacleod |
I have hopefully answered the question, "What is our definition of high contrast support?" in the Accessibility review section of the Pull Request Review Process wiki page. |
I think this sentence is not optimal:
A better support would be that monochrome icons are designed to be displayed in the foreground color (currentColor). For non-monochrome icons it would be better if they are not transparent or have an outline |
@JAWS-test Here's some of my rationale, FYI:
Other notes:
Maybe I should use fuzzier words and not even mention contrast ratios? Something like, "Make sure all necessary UI elements are visible and inherit the selected high contrast theme. Make sure the page functions correctly and behaves consistently using keyboard and mouse in both themes." Random questions that I just realized I should think about:
|
Unfortunately, this was the case not so long ago. IE11 still hides CSS background images, the idea originally being if they're images set with the CSS The takeaway is, I don't believe it's possible for software to determine whether content is decorative or not.
I don't happen to know of any that does. Heck, browsers aren't great at exposing alts when images don't load (if the image dimensions are too small... I recall Firefox was the only browser doing this correctly, but haven't checked these recently). |
@carmacleod
That is clear. There are an infinite number of combinations. My point was to make recommendations for graphics that are not problematic with any of the combinations: no transparent icons unless they have an outline, or for monochrome icons the color of the icon matches the text color in high contrast mode (e.g. font icons or SVG graphics with currentColor). If I take this into account, I don't have to test in High Contrast Mode at all.
The focus indicator should be visible, of course. I am not sure if it is possible to define any contrast or size requirements for visibility. In principle, the requirements of WCAG 2.2 can be followed. WCAG does not currently have any requirements for hover (except that when colors are changed on hover, the resulting contrasts for text and icons must not be less than 4.5:1 or 3:1, so that the content under the mouse pointer is still clearly visible - However, this should not be relevant in High Contrast Mode, since such color changes are then no longer visible anyway, at least with text.). But WCAG does not require that a hover state be displayed at all (see w3c/wcag#899 and w3c/wcag#896). In this respect, only a recommendation can be given here. But which ones? Color changes are hardly possible. I.e. only a border can be displayed or the already existing border style can be changed. But that would be very untypical for hover states. |
Currently we do not have a way to identify which examples support high contrast settings in operating system and which examples have support in mobile devices for both touch and mobile screen readers.
Issue needs to address:
list of examples with high contrast compatibility issues
Mobile support is being tracked in the issue 1620
The text was updated successfully, but these errors were encountered: