-
Notifications
You must be signed in to change notification settings - Fork 267
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
Test methods in Techniques are not aligned with the SC 1.4.4 Resize Text definition. #2923
Comments
Since the normative text does not specify that the resizing has to be linear (i.e., it does not rule out that at certain viewport widths the CSS reduces font size slightly, leading to a more moderate increase than you would see without CSS changes to font size) the only thing that remains to be tested is if there is any setting (usually via Browser zoom) where 200% text size without loss of content or functionality can be achieved. (It has been noted that this may be counterproductive for text that is already large at the default size, but no watertight wording to modify the normative text has come forward so far.) So, in my view, there is no conflict between the SC wording and the Techniques. @ArnaudDelafosse Does this reply satisfy you so we can close the issue? |
@detlevhfischer I am unsure if it is in accordance with the SC to require only 200% zoom, although the SC says otherwise. When the SC was written, as far as I know, there were no media queries that could respond to font size adjustment in the browser or OS with jumps in scaling, i.e. when SC 1.4.4 was written, it was assumed that resizing was linear. This has changed, but we would have to react to this by adapting SC or at least the understandings and techniques - and discuss beforehand in which form this adaptation should take place |
I'm not sure I totally understand you answer @detlevhfischer nor why MQ would come into the equation, so let me clarify my question and explain first what made me realise there may be a problem. I often hear/read auditors talking about testing text resizing "at 200%" (only) for conformance to SC 1.4.4 Resize Text. So my question is: shouldn't tests in Techniques use the same condition as the SC's normative text in order to:
|
@ArnaudDelafosse I am not contesting this. If there is no way to scale up text linearly (note this is not a frequent thing) it would still be not a failure of the normative requirement for the reasons given in my first response. Since the normative text does not specify what behavior would pass or fail the "up to" bit, it is not something that can be used for a FAIL just because you think it should fail. It is certainly good to give constructive comments in audit reports in cases where intermediate sizes are not (easily) available. As I said, I believe this is likely a pretty rare situation - possibly apart from size adjustments to larger text (headings) that will already be easier to read due to their defaut size. |
What I think is a fail is: with a text enlargement at 150% (in Firefox with the "Zoom text only" checked) AND a graphical (global) zoom at 150% in Chrome, some text or functionality that disappears in some way or another, even though it is perfectly fine at 200%. |
Yes, of course. That would be, in my understanding of the SC, a violation |
related to the topic of increments: #1857
well... would it though if using browser zoom, instead of text zoom, didn't produce this gap? see: #2169 and unmerged PR w3c/wai-website#680 |
The similar discussions at #1857 and #2169 clarify that resizing of text needs to work using any one method. The absence of specific normative requirements for resizing increments means that the content passes 1.4.3 if text can be resized to 200% by any method. @ArnaudDelafosse I think the issue you point out above occuring when using two text resizing methods simultaneously cannot constitute a failure as long as any single method does the trick. Can we close this issue? |
Well I don't think that the issue should be closed yet. |
And I'm afraid this out of the scope of my initial question. Furthermore, we agree on that. |
While I'm here and over a year after... any chance that the word "up" (as in "...up to 200%") may be added wherever necessary (at least in Technique G178 and Technique F94) for clarification? |
interesting. We can't change the SC at this point we certainly could change the title and wording of the technique. There is no question that that technique would satisfy the SC even though some might say it satisfies it and more. There is no prohibition about a technique not going beyond as long as it satisfies. (though it should have been "up to" in the SC, and that was the intent, and that is how it should be read as well) |
Thanks @GreggVan but I never asked for the SC to be changed :), only the Techniques to use the same wording as the SC: that is "...up to 200%" |
@ArnaudDelafosse - in that case -- yep. no brainer to do that. (It was "at least in techniques x and y that confused me.) |
That's great news, thanks. Hopefully this will clarify things for everyone. |
Filed #3986 |
The SC 1.4.4 Resize Text says "[...] text can be resized [...] up to 200 percent [...]" and again in the SC's Understanding "Content satisfies the Success Criterion if it can be scaled up to 200% [...]" which, to my understanding, means that the test should theoretically be conducted in every incrementation (percentage) up to and including 200%.
In practice, most of us must probably test the browsers's own graphic zoom and/or text resizing incrementations (e.g. 110%, 120%, 133%, 150%, 170% and 200% in Firefox or 110%, 125%, 150%, 175% and 200% in Chrome).
However in Technique G178 and Technique F94 (and it might also be elsewhere) it is said "Check that the text size can be increased to 200%" and "Check that the text [...] can be resized to at least 200%", possibly implying that testing only at 200% will be sufficient to conform to SC 1.4.4.
Is it just me or does that need to be clarified by using "...up to 200%" everytime it is needed?
The text was updated successfully, but these errors were encountered: