-
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
Multiple Examples: contrast and IE11 compatibility bugs #1132
Comments
@JAWS-test, thank you for this thorough review! This is very helpful. |
I’ll fix the colour contrast issues. But I won’t fix any of the IE11 issues. |
If IE 11 problems are generally not resolved, the following sentence in the chapter Browser and Assistive Technology Support may need to be adjusted:
|
Good point. Will discuss. Colour contrast issues
High Contrast Mode
IE11
Firefox
@JAWS-test can you tell me:
|
Windows 10, Windows 8, IE 11, Firefox
The then current version of Firefox and Firefox ESR (August 2019). If there are any uncertainties I can check it again with the current version of Firefox. The current Firefox 60.9.0 ESR still has the problem (just checked)
This always refers to the fact that the function of the buttons cannot be triggered (probably due to JS errors). This applies to activation with mouse and keyboard. If desired, I can test this for each element again and describe it in detail. For example: At Date Picker Dialog Example I get a message on the console that IE 11 does not support the methods |
Can we just create a polyfill bundle for the methods used which are not supported by IE11? To me this would lead to easier to read code rather than having to change the implementation. |
If you could go ahead and do that for date picker and and layout grid that’d be great! Thank you. |
I like this but it seems like it would be hard to maintain. I imagine it might be easier (and more familiar to many devs) to include a build stage so that we can write modern JavaScript and CSS but deploy browser-compatible code. Some combination of Babel (with @babel/preset-env), PostCSS (with postcss-preset-env), and Browserslist should do the trick. |
I'll take "Disclosure, Menubar, Treeview: transparent image for status: not or poorly visible in high contrast mode". I assume the problem image is the brown triangle, which is used in Disclosure and Treeview to show that they can be expanded/collapsed, and in Menubar to show that Menus can be dropped down. (I also assume that the brown dot for radio menu items is a problem, too). I plan to fix this by using high contrast media queries to change the image color as described here: Just mentioning the media query thing in case that helps fix any of the other high contrast problems. |
How would you see that work? Because if there’s one part of web development that annoys the heck out of me it’s build processes. Of course this wouldn’t necessarily impact the examples themselves. Just add more complexity to maintaining what is in essence static code. |
@carmacleod If I have seen this correctly, the procedure described at https://css-tricks.com/accessible-svgs-high-contrast-mode only works in IE and Edge. HCM should also be supported in Firefox. Therefore it would be better to use graphics without transparent background instead of graphics with transparent background or font icons (whose color is automatically adjusted). |
... Or use an icon with 2 contrasting colours in it. |
DatepickerIE 11: The Datepicker button ( Layoutgrid, Example 2: Pill List For a List of Message RecipientsIE 11:
Cause: IE 11 does not support JS methods |
Re: contrast. I personally like using SVGs + As an example, the SVG icon in this pen: https://jsfiddle.net/01rh43vd/show |
Yup, I'm a currentColor fan, so long as SVGs have a single fill/stroke! With more than one colour I fall back to either a contrasted background or outline. I know MS is moving the high contrast detection stuff into general CSS, but if there's a simpler way to just make things work, I prefer those. Thoughts on the datepicker:
It occurs to me that... it would NOT occur to me that an arrow-represented button which looks like it would open a calendar/datepicker would be called "Choose Date" (thinking of speech recognition). I'd think of it as "Open [something]" (open calendar, open picker...). |
+1 for @StommePoes related issue: w3c/aria#1038 |
@smhigley @StommePoes @ZoeBijl Thank-you for suggesting/confirming "svg + I looked into media queries a bit, too, and as @StommePoes mentioned, CSS may someday have a media query called |
@carmacleod Melanie Richards from MSFT does have a talk about that tho if you're interested: https://github.com/melanierichards/talks/tree/master/2019/tpac-hc |
Oooh - nice! Thanks, @StommePoes ! I'm reading through this right now. |
My suggestion is probably not so good, as currently 11% of all screen reader users continue to work with IE 11 (and even 3.5% with older versions of IE), according to Screen Reader User Survey |
I had missed this the first time I read through-- remember you can always wrap a parent around your SVG, and set your desired colour on that parent, and then always have
\o/ |
@carmacleod Thanks for finding this issue! |
Visually impaired users need sufficient contrast and partly "High Contrast Mode" of the operating system. I have checked all examples and found some errors with contrast and "High Contrast Mode". If I have noticed any other errors, I will also list them in the following:
https://w3c.github.io/aria-practices/examples/accordion/accordion.html
Contrast arrow icon: 2.7:1
Contrast border 1.5:1
https://w3c.github.io/aria-practices/examples/dialog-modal/alertdialog.html
Does not work with IE 11 (button "Save", button "Yes")
"Saved" message is shown only for 3 seconds
https://w3c.github.io/aria-practices/examples/button/button.html
IE 11: Icon at "Mute" button not visible, state of the button not perceptible
https://w3c.github.io/aria-practices/examples/combobox/aria1.1pattern/listbox-combo.html
If there is an element at the bottom of the browser, the list entries are not displayed.
https://w3c.github.io/aria-practices/examples/combobox/aria1.0pattern/combobox-autocomplete-both.html and the two other aria 1.0 combobox pattern
IE 11: List entries not visible
https://w3c.github.io/aria-practices/examples/dialog-modal/datepicker-dialog.html
Does not work with IE 11
Contrast date picker icon: 2.3:1
https://w3c.github.io/aria-practices/examples/disclosure/disclosure-img-long-description.html,
https://w3c.github.io/aria-practices/examples/disclosure/disclosure-faq.html,
https://w3c.github.io/aria-practices/examples/menubar/menubar-1/menubar-1.html,
https://w3c.github.io/aria-practices/examples/menubar/menubar-2/menubar-2.html,
https://w3c.github.io/aria-practices/examples/treeview/treeview-2/treeview-2b.html
transparent image for status: not or poorly visible in high contrast mode
https://w3c.github.io/aria-practices/examples/grid/LayoutGrids.html
Example 2: Does not work with IE 11
Example 2: Contrast delete icon: 1.6:1
https://w3c.github.io/aria-practices/examples/grid/dataGrids.html
Example 2: sort icon not correct visible in high contrast mode
Example 2: pen icon not visible in high contrast mode (background image)
http://www.w3.org/TR/wai-aria-practices-1.1/examples/listbox/listbox-rearrangeable.html
Example 1: button "Not Important" does not work with IE 11
Example 1: arrow icon not visible in high contrast mode (background image)
Example 2: buttons "Add" and "Remove" do not work with IE 11
http://www.w3.org/TR/wai-aria-practices-1.1/examples/listbox/listbox-collapsible.html
arrow icon not correct visible in high contrast mode
http://www.w3.org/TR/wai-aria-practices-1.1/examples/listbox/listbox-scrollable.html,
http://www.w3.org/TR/wai-aria-practices-1.1/examples/listbox/listbox-collapsible.html
Firefox: List entries are not displayed in the visible area
https://w3c.github.io/aria-practices/examples/menu-button/menu-button-actions.html
Missing border around the list entries (important in high contrast mode)
List entries are not displayed in the visible area
https://w3c.github.io/aria-practices/examples/slider/multithumb-slider.html
handle not or poorly visible in high contrast mode (transparent image)
https://w3c.github.io/aria-practices/examples/spinbutton/datepicker-spinbuttons.html
arrow icons not or poorly visible in high contrast mode (transparent image)
High contrast mode: not recognizable, which date was selected, because all 3 dates look identical
https://w3c.github.io/aria-practices/examples/toolbar/toolbar.html
arrow icons not or poorly visible in high contrast mode (transparent image)
High contrast mode: pressed buttons not perceptible, because they are all displayed with the same border
https://w3c.github.io/aria-practices/examples/treeview/treeview-1/treeview-1a.html
High contrast mode: Borders of the entries overlap text of nested entries
type icons not or poorly visible in high contrast mode (transparent image)
https://w3c.github.io/aria-practices/examples/treegrid/treegrid-1.html
arrow icons not visible in high contrast mode (background images)
The text was updated successfully, but these errors were encountered: