Skip to content
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

Testing 1.4.10 Reflow: No equivalence of testing at 320px or 1280px with 400% zoom? #648

Open
detlevhfischer opened this issue Mar 5, 2019 · 8 comments

Comments

@detlevhfischer
Copy link
Contributor

So far we have assumed that reflow may be generally tested either at a viewport width of 320px or at 1280px and 400% zoom (the Note in 1.4.10 claims equivalence). In practice, it turns out that some sites seem OK when viewed in a narrow browser window but are pretty unusable on the desktop with 400% zoom (because there is a lot less vertical space). An example is https://www.bmu.de/ where at 400% zoom the navigation drawer is sticky / unusable - the lower items do not fit the viewport and cannot be scrolled to.
Would this fall under the (planned, pencilled in) "Failure due to content disappearing and not being avialable when content has reflowed"?

@mraccess77
Copy link

My personal opinion is that while this is potentially an issue under the WCAG CR for accessibility supported it is not specifically caught by 1.4.10.

I believe SC 1.4.10 should not be tested with zoom but instead should be test with the browser developer toolbar set to a width of 320 -- as that is what is called for by the SC. What we do is open the dev toolbar and dock it to the right. Then resize the view to 320CSS pixels wide. This is what is covered by the SC. We also test text spacing in this view with Stylus.

When we created this SC I had indicated that there would likely be issues that happen with zoom that would not be caught by this SC -- the original intention of the SC was to zoom to 400% of the default -- but in the end the 320 bit was the only thing we could get enough consensus on so we took what we could get.

I agree that your example is an issue for users and I run into this very issue on some sites.

@patrickhlauke
Copy link
Member

Would this fall under the (planned, pencilled in) "Failure due to content disappearing and not being avialable when content has reflowed"?

Not quite sure it would. Note that the issue here is not so much that the reflowing itself causes the problem though, but rather that the site didn't adapt itself to fit into a 320x180 (or thereabouts) viewport size, which is extremely small and likely an unrealistic target for most sites.

@patrickhlauke
Copy link
Member

In other words, the site reflowed correctly. But it didn't work at 400% resize, which is double the amount of the mandated 200% for text resize. So this straddles the line between the two SCs, but I don't think the site necessarily fails here...it's more that it fails in the artificial setup of the test (where you have a landscape-oriented browser which, when zoomed to 400% on a 1280 screen to test for the horizontal reflow, ends up having an effective height of 180 pixels or less.

@detlevhfischer
Copy link
Contributor Author

@mraccess77 I did not get the impression that the approach you follow in testing is mandated - the note stating the equivalence would seem strange if it was. 400% zoom at desktop is of course one of the main use cases for LV users - unsticking the header at a narrower breakpoint (there is even a Technique for that already, I believe, even though I can't see it in the google sheet right now) should be easy enough to make the reduced height workable.

@patrickhlauke The effective height could be larger than 180px, depending on the size of your monitor.

Whatever we decide, it might be worthwhile stating in the Understanding text that issues such as this do not fall under the SC (I am not yet convinced that they don't, though).

@mraccess77
Copy link

@detlevhfischer I'm trying to understand your question about what's mandated. Are you saying using the dev toolbar is less than sufficient or requiring more than what is sufficient? I agree it doesn't address the 400 zoom issue -- but that didn't make it in the SC unfortunately. Maybe something for 2.2?

@detlevhfischer
Copy link
Contributor Author

detlevhfischer commented Mar 5, 2019

@mraccess77 I assumed neither option (reducing viewport site to 320px or zooming in 400% at 1280px) was mandated and both would be valid ways to test Reflow, but the way you put it sounded as if the 320px approach was the only sensible way. Not using zoom one will not come across the issue reported. I agree however that it might be a stretch to fail a site for a fixed menu that does not fit the little vertical space there is (though I am not sure this would warrant a stand-alone new 2.2. SC).

@mraccess77
Copy link

Using the dev tools to bring up a sidebar and resize the viewport to 320CSS seems like it would meet the requirement. I'm not talking about using the RWD/mobile device feature of dev tools -- but simply resizing the browser content view within the browser.

@patrickhlauke
Copy link
Member

patrickhlauke commented Mar 5, 2019

yup, you essentially want to achive 320 css px width (and check that text is correctly reflowed even at that size). whether that means on a 1280 monitor to have the browser maximized, then zoom in 400%, or make the browser window half the width of the monitor, and zoom in 200%, or being able manually make the window 320 px wide (depending on browser/number of tabs open, there's a certain minimimum width that you often can't get past, which is why this option doesn't always work out exactly).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants