squizlabs/HTML_CodeSniffer — pull request #14 by lwright-sq (2012-07-02 04:26:36+00:00)
Title: Change "long description" message in SC 1.1.1 from warning to notice

Requests have been made for a change to the following message in Success Criterion 1.1.1:

> **Warning:** If this image cannot be described in a short text alternative, ensure a long text alternative is also available, such
> as in the body text or through a link. (G73, G74)

This is currently generated for all images. There is an argument that this should be downgraded to a Notice, as HTML_CodeSniffer cannot automatically check for the absence of a long description - since it can hide as just general body text or a normal link. Other checks of this type, where we apply to most or all elements of a certain type, are typically emitted as a Notice.

This request changes the above message from a Warning to a Notice. It also adds extra wording so it doesn't sound like a short text alternative is optional when a long one is used.