hi ben,
> When a developer knows an image does not contain important content,
> they can use alt="" and it will not be exposed to the accessibility
> hierarchy.
>
> Equally when a developer does not know the alternative text for an
> image, they can omit alt and it *will* be exposed to the accessibility
> hierarchy.
you are making a false assumption, this only works if the generator
image developer controls where the content is published.
The developer does not necessarily control the content of the page
the image is embedded in, so the developer cannot ensure that only
images that are significant have alt omitted.
> The question in this thread is whether we should add a feature to
> suppress/minimize linter warnings when a developer does not provide an
> @alt because they don't know alternative text in order not to
> encourage them, for example, to mislabel the image as *not* containing
> important content via alt="". That's all.
that is not the scope of the discussion, it has been identified that
providing an indication of the image significance to AT is an
important aspect for some involved which is why we are discussing ways
to do that.
regards
Stevef
On 4 August 2012 04:19, Benjamin Hawkes-Lewis
<bhawkeslewis@googlemail.com> wrote:
> On Fri, Aug 3, 2012 at 8:19 PM, Steve Faulkner <faulkner.steve@gmail.com> wrote:
>> The information that an image contains important content, but does not have an alt is not already
>> provided in the accessibility tree
>
> Sorry?
>
> When a developer knows an image does not contain important content,
> they can use alt="" and it will not be exposed to the accessibility
> hierarchy.
>
> Equally when a developer does not know the alternative text for an
> image, they can omit alt and it *will* be exposed to the accessibility
> hierarchy.
>
> AFAICT we don't need to add new HTML features or accessibility
> mappings or AT behaviours for these cases.
>
> The question in this thread is whether we should add a feature to
> suppress/minimize linter warnings when a developer does not provide an
> @alt because they don't know alternative text in order not to
> encourage them, for example, to mislabel the image as *not* containing
> important content via alt="". That's all.
>
> --
> Benjamin Hawkes-Lewis
--
with regards
Steve Faulkner
Technical Director - TPG
www.paciellogroup.com | www.HTML5accessibility.com |
www.twitter.com/stevefaulkner
HTML5: Techniques for providing useful text alternatives -
dev.w3.org/html5/alt-techniques/
Web Accessibility Toolbar - www.paciellogroup.com/resources/wat-ie-about.html