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

The horizontal scrolling requirement in SC 1.4.8 #3345

Open
xfq opened this issue Aug 16, 2023 · 27 comments
Open

The horizontal scrolling requirement in SC 1.4.8 #3345

xfq opened this issue Aug 16, 2023 · 27 comments
Assignees
Labels
1.4.8 Visual Presentation ErratumRaised Potential erratum for a Recommendation i18n i18n-clreq i18n-jlreq i18n-mlreq i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. WCAG 2.1 WCAG 2.2

Comments

@xfq
Copy link
Member

xfq commented Aug 16, 2023

https://www.w3.org/TR/WCAG22/#visual-presentation

Text can be resized without assistive technology up to 200 percent in a way that does not require the user to scroll horizontally to read a line of text on a full-screen window.

The text here seems to assume that the text is in horizontal writing mode, which may not be applicable to vertical text. IMHO we need to limit the scope of this SC or add some text about vertical text.

@xfq xfq added i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response. i18n 1.4.8 Visual Presentation labels Aug 16, 2023
@xfq xfq added i18n-clreq i18n-jlreq i18n-mlreq i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. and removed i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response. labels Aug 17, 2023
@alastc alastc added the ErratumRaised Potential erratum for a Recommendation label Aug 22, 2023
@alastc
Copy link
Contributor

alastc commented Aug 23, 2023

Hi @xfq,

we need to limit the scope of this SC or add some text about vertical text.

In effect it is limited, it does not apply to vertical text (as you don't need to scroll horizontally to read a line).

I think we'd need some more expertise / research to establish if it is useful and feasible to extend the requirement to vertical-text scenarios.

@xfq
Copy link
Member Author

xfq commented Aug 24, 2023

According to my understanding, for vertical text, we should be able to increase the font size without scrolling vertically to read a line of text.

I think @murata2makoto and others in the jlreq TF have more expertise and research about the requirements for scrolling in vertical writing mode.

@awkawk
Copy link
Member

awkawk commented Aug 24, 2023

I agree with @alastc - the intent to ensure that vertical text wraps so there is only horizontal, and not vertical scrollling is not supported by the SC text.

@murata2makoto
Copy link

According to my understanding, for vertical text, we should be able to increase the font size without scrolling vertically to read a line of text.

I think @murata2makoto and others in the jlreq TF have more expertise and research about the requirements for scrolling in vertical writing mode.

I completely agree with @xfq. Obviously, this SC should be generalized for vertical layout.

@murata2makoto
Copy link

I think we'd need some more expertise / research to establish if it is useful and feasible to extend the requirement to vertical-text scenarios.

I do not understand why more expertise / research is required.
All Japanese DAISY textbooks in vertical writing allows such reflow.

I wonder if you are asking p-value based significance test?

@awkawk
Copy link
Member

awkawk commented Aug 24, 2023

I completely agree with @xfq. Obviously, this SC should be generalized for vertical layout.

Yes, this should be but the current situation is that it is not required for vertical text due to the language of the SC. That isn't something that can be addressed at this time in the process for publication. This should be added to the list for WCAG 3 to consider.

@murata2makoto
Copy link

@awkawk

This should be added to the list for WCAG 3 to consider.

Not even errata to WCAG 2.X?

Text can be resized without assistive technology up to 200 percent in a way that does not require the user to scroll horizontally to read a line of text on a full-screen window.

Horizontal scrolling is always unnecessary for reading a vertical line. It is thus true that the phrase " in a way that does not require the user to scroll horizontally to read a line of text on a full-screen window" does not impose any harmful requirements. It is just misleading and useless for vertical writing.

@awkawk
Copy link
Member

awkawk commented Aug 24, 2023

Not even errata to WCAG 2.X?

This would be a substantial errata rather than an editorial errata. It would need to be updated in WCAG 2.0/2.1/2.2 - all errata to date are editorial (such as typos)- see https://www.w3.org/WAI/WCAG21/errata/

@patrickhlauke
Copy link
Member

all errata to date are editorial

(except for the upcoming one for 4.1.1)

@murata2makoto
Copy link

@awkawk

This would be a substantial errata rather than an editorial errata. It would need to be updated in WCAG 2.0/2.1/2.2 - all errata to date are editorial (such as typos)- see https://www.w3.org/WAI/WCAG21/errata/

But the W3C process allows class 3 changes. Why do you eliminate them from WCAG errata?

@xfq
Copy link
Member Author

xfq commented Aug 25, 2023

IIRC based on the i18n ⇔ AG joint discussions at the teleconference, it is possible to use the errata process for this kind of change and it was mentioned in the meeting summary (W3C member only).

@murata2makoto
Copy link

The discussions in this thread make me nervous.

@murata2makoto
Copy link

I would like to request the addition of " when in horizontal writing, and vertically when in vertical writing." at the end of the current sentence.

@kidayasuo
Copy link

In effect it is limited, it does not apply to vertical text

How does a reader of this specification know that it does not apply to vertical text?

@yatil
Copy link
Contributor

yatil commented Aug 30, 2023

In effect it is limited, it does not apply to vertical text

How does a reader of this specification know that it does not apply to vertical text?

This is not how WCAG conformance works. The requirement is that at 200% no horizontal scrolling is needed to read a line of text. So you resize the text to 200% and then see if horizontal scrolling is needed. As far as my (admittedly limited) understanding of vertical languages goes, there is no scenario where you would need to scroll horizontally to read a “line” of text. So it automatically passes the success criterion.

I 100% support the internationalization effort, and if murata2makoto’s suggestion addresses the concern, I think it is a simple enough fix.

However, because it has a meaningful impact on conformance to WCAG (as in: a requirement is introduced that needs to be met now that did not exist before) I would strongly recommend containing the change to WCAG 2.2 and not introduce an Errata on earlier versions, as it is a normative change. Nobody wants websites that have passed WCAG 2.0 for 15 years and WCAG 2.1 for 5 years to suddenly not pass those versions. It’s OK (and expected) that they do not meet WCAG 2.2.

@kidayasuo
Copy link

Thank you, @yatil, for your comment. Indeed, there is no scenario in which you would need to scroll horizontally to read a 'line' of vertical text. While vertical text happens to not violate this clause, I'm not sure that this should be the way we address the issue.

I am comfortable with @murata2makoto's suggestion, and I agree with you that we should confine the changes to WCAG 2.2.

@shawna-slh
Copy link
Contributor

shawna-slh commented Sep 25, 2023

.... does not require the user to scroll horizontally to read a line of text ...

"scroll horizontally" was an error in 2.0. It should have been "scroll in two dimensions".

We avoided the same error in the 2.1 reflow criteria:

... without requiring scrolling in two dimensions...

It seems we should now correct that in WCAG 2.2 wording, and with WCAG 2.0 and 2.1 errata.

... does not require the user to scroll in two dimensions to read a line of text ...


As we learned with 4.1.1, the community is adamant about "backwards compatibility". Thus, if we change wording in 2.2, we will need to add errata for previous versions.

Practically, I think the error correction from "scroll horizontally" to "scrolling in two dimensions" does not introduce a new requirement and doesn't impact past conformance. It makes the SC applicable for different language systems and also more flexible for different situations. Maybe I'm missing something?

@GreggVan
Copy link

GreggVan commented Sep 25, 2023 via email

@shawna-slh
Copy link
Contributor

It is really about not requiring people to scroll back and forth to read each line.

Right, and more specifically, not scroll back and forth to read a block of text.

If I recall correctly, when the low vision task force was discussing what became 1.4.10 Reflow, it decided that if in a horizontal language there was a single long line and the user had to scroll horizontally to read it (but not also vertically to read any of the block of text), that would be acceptable. Though, that's still pretty hard reading.

I think it would be good to decide if we were starting from a clean slate, what the wording would be for 1.4.8 Visual Presentation and 1.4.10 Reflow. And then decide what we can do given the wording already in WCAG 2. Is a wording change appropriate? As yatil says, we don't want to make a bunch of websites non-conformant. Yet, in reality given common practice, this wording correction might not.

@GreggVan
Copy link

GreggVan commented Sep 26, 2023 via email

@shawna-slh
Copy link
Contributor

shawna-slh commented Sep 26, 2023

At this point we can only make sure the intent is there in the Understanding doc since 2.x is all closed and sealed.

+1 to clearly addressing in the Understanding doc.

As I understand it, in practice vertical writing systems will pass this. So there's not a problem with conforming. (nd this is Level AAA.

[comment above edited]

@shawna-slh
Copy link
Contributor

shawna-slh commented Sep 26, 2023

For understanding doc — the problem is twofold
...

As illustrated in this video https://www.youtube.com/watch?v=5nlcEgJGIs8&t=22s , specifically starting at 2:09

@alastc
Copy link
Contributor

alastc commented Sep 26, 2023

I do not understand why more expertise / research is required.
All Japanese DAISY textbooks in vertical writing allows such reflow.

That will do then!

Obviously, this SC should be generalized for vertical layout.

It should, but it would be adding a requirement, and we're well past the time for adding new requirements in 2.2. It would need to go into 3.0, or (if there's new support for it) WCAG 2.3.

As we learned with 4.1.1, the community is adamant about "backwards compatibility". Thus, if we change wording in 2.2, we will need to add errata for previous versions.

There are two slightly separate things here:

  1. "backwards compatibility" for WCAG means that if you pass 2.2, you should automatically pass 2.1 and 2.0. Adding a new requirement in 2.2 wouldn't break compatibility, but removing one would. (Thus the hoops we jumped through to minimise the 4.1.1 change.)
  2. Adding a requirement by errata would be a substantive errata, for which we'd need to go through a longer process. I wouldn't rule that out, but it wouldn't be a quick thing.

Also, as I mentioned elsewhere, this is an AAA requirement which is NOT recommended to be included in legislation by default.

That is also helpful for justifying an errata: If regions where this SC is an issue have not been applying it at all, there would be no harm in updating it.

@murata2makoto
Copy link

Obviously, this SC should be generalized for vertical layout.

It should, but it would be adding a requirement, and we're well past the time for adding new requirements in 2.2. It would need to go into 3.0, or (if there's new support for it) WCAG 2.3.

If those CJK users who have print disabilities are not forsaken and the third agreement between the I18N WG and the AG WG ("Working together, produce errata for each of the 2.x specs. In the call we identified the “horizontal” text and the addition of an “exception” in section 1.4.8 as a particular target, but this effort would extend to other items as appropriate.") are honored, every attempt should be made to generalize 2.2 by publishing errata.

@aphillips
Copy link
Contributor

Vertical text pretty much never violates the horizontal scrolling part of the requirement (it can require vertical scrolling that violates the spirit of the SC), so we could ship this as-is, I think.

The added note I think covers vertical text under the "additional or different requirements" bit. There is a separate thread and PRs in which the understanding docs are being revised. I also think that a more general SC would be better and not very difficult to achieve. But I don't think we need to hold 2.2.

@murata2makoto
Copy link

@aphillips

Will the I18N WG and the AG WG work together to produce errata for each of the 2.x specs?

@aphillips
Copy link
Contributor

@murata2makoto Yes. This is already in progress. The edits by @shawna-slh I believe are part of this effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.4.8 Visual Presentation ErratumRaised Potential erratum for a Recommendation i18n i18n-clreq i18n-jlreq i18n-mlreq i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. WCAG 2.1 WCAG 2.2
Projects
None yet
Development

No branches or pull requests