w3c / wcag

Web Content Accessibility Guidelines
https://w3c.github.io/wcag/guidelines/22/
Other
1.13k stars 256 forks source link

"Short" and "Long" can be misleading (SC 1.1.1) #2117

Open MakotoUeki opened 3 years ago

MakotoUeki commented 3 years ago

I created this issue on behalf of the Alt Text Subgroup of the Silver Task Force.

Explanation:

In the "Sufficient Techniques" section in “Understanding WCAG 2.1,” the following terms can be confusing, especially for those who are new to web (digital) accessibility.

How can we determine if the text alternative is "short" or "long" when we have not specified a character limit for the value of the alt attribute?

Also, "short" often leads people to think that the short text alternative can meet the SC 1.1.1 even if it is not equivalent to the non-text content. They tend to mistakenly conclude that "short" is more important than "equivalent."

Recommendation

Proposed changes:

Scope

"Sufficient Techniques" section in "Understanding WCAG 2.1" Titles for the Techniques and Failures in “Techniques for WCAG 2.1"

Examples of Techniques/Failures

Here are some examples of pages that use the terms "short text alternative," "long text alternative," etc.

mraccess77 commented 3 years ago

I think it might be good to help people

bruce-usab commented 3 years ago

@mraccess77 are there any kind of hard or fixed limitations base on a character count? I think maybe early versions of IE cut alt attribute values off after 80 characters or something, and that limit has gotten enshrined as an absolute? I agree with all your bullets, except I am hoping we might avoid including numbers, because of the history of specific numbers being taken as gospel. So I will suggest phrasing like:

mraccess77 commented 3 years ago

JAWS has a max line length setting to break up units of text at 150 characters into different line units. Previously MSAA and IE may have had some limits as well. While I agree there are no hard numbers - sentences generally are from 75-100 characters) so a sentence might be a good rule of thumb.

The issues with alt text include:

patrickhlauke commented 3 years ago

i'd be careful not to enshrine some arbitrary character count as a hard "anything below this number is 'short', anything above this number is 'long'", as that's also language-dependent (e.g. thinking CJK where a single character/glyph represents a whole word/concept, so a 'short' text may still end up being incredibly dense compared to a language like, say, German)

MakotoUeki commented 3 years ago

@mraccess77 @bruce-usab Thank you so much for discussing the character limit. We (Alt Text subgroup) are going to create a new issue about it. I'll share it with you once the issue is created.

@patrickhlauke Agreed. WCAG is an international guideline. We should not make it JAWS-based and English-based.

GreggVan commented 3 years ago

Two thoughts

1) Perhaps use Word vs characters?

These are good rules of thumb - for English - but may not be for other languages.

Another vote for words is the following. Which is better?

This is pretty extreme example but — sometimes long words convey information better but increase character count (also a problem with "simple language" metrics that use syllable counts).

A bigger problem is languages where the characters per word vary greatly.

2) Perhaps recommend short summary then any IMPORTANT detail - vs short.

I think it is better to convey all the important information in an image rather than worry about character count. For example — if there is a diagram in a powerpoint (or other presentation slide) it is better to convey all of the IMPORTANT information int the diagram than it is to say something like "diagram showing the relative sales by sector for the 15 most common sales strategies" or "critical stress points in our product" which only lets the person know what it is that everyone else knows but they do not.

I often find that I have to create long alt texts for images in order to provide individuals who are blind with all of the same information as everyone else. I always start with a short summative description - followed by the details. They can always move off of the picture if they are not interested in the details (like sighted persons can look away if they are not interested in details ) but not including the details in order to keep the description short — does not seem to me to be making it more accessible.

Best

gregg

On Oct 29, 2021, at 10:10 AM, Jonathan Avila @.***> wrote:

I think it might be good to help people

understand when each one is needed limitations of text alternatives using approaches like the alt attribute Best practice is for text < 150 characters Ideal amount is probably 75 or less for alt text Ideally for text that doesn't need structure how they should relate to each other if a description is needed/used — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/w3c/wcag/issues/2117#issuecomment-954776392, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNGDXRZLJNCSG6BNRNVCFTUJKTMTANCNFSM5G7LMYBQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mraccess77 commented 3 years ago

@GreggVan wrote ") but not including the details in order to keep the description short — does not seem to me to be making it more accessible. "

I agree. My point is that longer descriptions are easier to parse in a form where there are line breaks, paragraphs, lists, headings, tables, etc. rather than just as a string of characters.

My mention of character count was not actually to specify a certain number of characters but to attempt to get at a level of detail word, sentences, etc. where there is a split between something crammed into one attribute versus more structured content. It was not meant to encourage people to use only short descriptions where a long one was needed or to force a certain length.

MakotoUeki commented 3 years ago

@GreggVan Thank you very much for your comments. I'm doing "short summary then any IMPORTANT detail" all the time. So I do agree.

I've seen so many cases where the alt attribute value is ONLY short summary and it is not alternative for an image. That's why we think the technique title saying "short" is a problem.

@mraccess77 @bruce-usab @patrickhlauke @GreggVan I'd like to hear from you all about what do you think about our proposed changes. The character limit will be discussed in the other issue we will create soon :)

Proposed changes:

  • "short description" to "description"
  • "short text alternative" to "text alternative"
  • "long text alternative" to "detailed text alternative"
  • "long description" to "detailed description"
bruce-usab commented 3 years ago

My recommendation is that the top-level normative phrasing align with the well travelled terms in 2.x 1.11. That is:

I am of the opinion that adjectives like short/long/detailed are less helpful. Describing an image, in many use cases, misses the point of having a text alternative.

MakotoUeki commented 3 years ago

@bruce-usab Let me check if we are on the same page.

What we'd like to propose is to change the words, "short" and "long", in the "Sufficient Techniques" section in “Understanding WCAG 2.1. Because these wording are too ambiguous and confusing especially for those who are new to web accessibility.

Do you mean you are okay with the current wording? If no, how would you change these technique titles?

For instance, G94 title often misleads people to write short alt text (e.g. "Photo", "Chart", "People") which is not equivalent for an image.

In G95, what is "short" and what is "long" in the first place?

These are the issues we'd like to solve here.

bruce-usab commented 3 years ago

@MakotoUeki (et al.) – I completely agree that short and long have proven to be problematic. I agree that these words are too ambiguous and confusing, especially for those who are new to web accessibility.

I do not think the difficulty can be fixed merely by deleting the word short and replacing long with descriptive.

Do you mean you are okay with the current wording?

Well, yes, I am okay with the current wording, because it is a document that achieved WG consensus. I gave my assent then, and even now I am not finding anything wrong. That said, I am all for working to improve it!

If no, how would you change these technique titles?

I agree with taking short out of these technique titles. I think the more important thing is to rewrite throughout so that providing descriptive identification is the main idea, not a brief description.