Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

What does "writing email to a friend does not make an img missing alt conformant" mean? #989

Closed
edent opened this issue Aug 9, 2017 · 7 comments

Comments

@edent
Copy link
Member

edent commented Aug 9, 2017

Under Changes to Existing Features - https://www.w3.org/TR/2017/PR-html51-20170803/changes.html#changes-to-existing-features

Having title, or writing email to a friend does not make an img missing alt conformant.

I think the first part means "Even if an img has a title, it still needs an alt".

I don't understand what writing an email - to a friend or otherwise - means in this context.

@LJWatson
Copy link
Collaborator

LJWatson commented Aug 9, 2017

It seems to be an editorial mistake in the changelog. I've skimmed through 4.7.5 The img element, but can't find anything that suggests anything likely.

Ping @chaals (who wrote the changelog) and @stevefaulkner (who most likely made the spec change), but to satisfy curiosity only. HTML5.1 2nd Edition is in PR now, so we're not even able to make editorial changes at this point unfortunately.

@Alohci
Copy link

Alohci commented Aug 9, 2017

Compare with the WHATWG living spec. It says

4.8.4.4.13 An image in an e-mail or private document intended for a specific person who is known to be able to view images

When an image is included in a private communication (such as an HTML e-mail) aimed at a specific person who is known to be able to view images, the alt attribute may be omitted. However, even in such cases authors are strongly urged to include alternative text (as appropriate according to the kind of image involved, as described in the above entries), so that the e-mail is still usable should the user use a mail client that does not support images, or should the document be forwarded on to other users whose abilities might not include easily seeing images.

Presumably at some point, this was in the W3C Spec too. Then later, this point was removed (non-conformance is simpler than conformant-but-don't-do-it) and the change note reflects that.

But it doesn't appear in HTML 5.0 Rec, so the description as changed since 5.0, is a bit misleading.

@LJWatson
Copy link
Collaborator

LJWatson commented Aug 9, 2017

Thanks for the archeology @Alohci.

@edent
Copy link
Member Author

edent commented Aug 9, 2017

@LJWatson
Copy link
Collaborator

LJWatson commented Aug 9, 2017

Setting aside consistency for the moment, I don't think the advice in the WHATWG spec is particularly helpful. It states that the alt can be omitted if the recipient of the email is known to be sighted, but then acknowledges two situations in which that fact cannot be known by the sender.

@johnfoliot
Copy link

johnfoliot commented Aug 9, 2017 via email

@LJWatson
Copy link
Collaborator

Closing this because it doesn't seem helpful to introduce this text to the HTML spec.

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

No branches or pull requests

4 participants