-
Notifications
You must be signed in to change notification settings - Fork 400
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
[Planning page] Standards tables - alternative for small screens #565
Comments
I tried User experience with it in preview with overflow:
User experience without it in main preview:
So... what to do? |
It is possible to use media queries to hide the scrollbars on desktop/only display them when needed. (That’s why I said I would take care of the actual implementation.) Without it, scrolling down usually scrolls also to the right. It also breaks rendering performance and some phones zoom out. Best practice is not to use tables at small screens which is not an option here. We can add an icon/text above the table (on smaller screens) that incentivizes people to scroll. This is often done these days. |
Decision: Can't meet usability for user of zoom on win/chrome with zoom (according to Shawn) and mobile users (according to Eric) at the same time. Doing nothing for now. |
Need to look at this site-wide. Not top priority. |
I took a look at this again to reply to query from @nitedog I also recalled the discussions of user needs behind 1.4.10 in the Low Vision Task Force. With zoom and the overflow functionality on laptop/Win/Chrome and laptop/Win/Firefox, the table is totally un-usable because you have to scroll and scroll and scroll to find to the horizontal scrollbar at the bottom of the table (that is, if you even figure out that it's there - and I scrolled past it a few times because it's so small and light colored and hard to see for low vision users) -- and then scroll and scroll and scroll to get back to where you were reading, etc., etc, etc. During scrolling, lose memory of what was reading before scrolling and searching. That is exactly what 1.4.10 is intended to avoid. With zoom and current implementation at https://www.w3.org/WAI/media/av/planning/#wcag-standard in iphone/Safari and laptop/Win/Chrome and laptop/Win/Firefox, the main text does not need horizontal scrolling at all. To get to some data in the table, a little scrolling horizontal is needed. It's very easy to read the content of table cells. That is the point of 1.4.10 Reflow -- that you don't have to scroll horizontally to read a block of text. So I still think that what we have is the only viable of the two options for accessibility/usability. And it meets both the spirit and the letter of 1.4.10. If we have another option that is usable and pretty in all configurations, that would be great. (Still not high priority for now.) |
Unless you have motor disabilities and scroll horizontally accidentally on iPhones or zoomed-in at a place where the table is not on the page. Just another consideration. |
Here's one example of responsive tables from loc.gov |
@lakeen Thanks for the link. The issue with the table in question is that the headers are very long, with words that are relatively long and five columns. So it is more a design challenge than a CSS challenge. https://www.w3.org/WAI/media/av/planning/#pre-recorded I usually have recommended to clients in the past to use a horizontally scrollable div around the table with shadows as affordances. |
/me reopens the issue as there is active discussion. |
https://wai-media-guide.netlify.com/design-develop/media/planning/#wcag-standardupdate: https://www.w3.org/WAI/media/av/planning/#wcag-standard
The text was updated successfully, but these errors were encountered: