Re: Tests 59,

> But "Submit" or "Submit form" aren't appropriate alt when the image on
> the button is an image of text (such as Go or Search or Find or Done or
> whatever). In those cases, the alt should match the word that's
> displayed in the image.
>
OK. Test 11 checks for that (text within image must be in alt text):
http://www.w3.org/WAI/GL/WCAG20/tests/test11.html

> The word "button" need not (should not) be included in
> the  alt text because the user agent already makes it
> evident that it's a button, either by displaying it as a
> button or by inserting the word button.
>
We don't have a test for this yet.

> The purpose of the *button* is to submit the form.
> The purpose of the *image* is to convey that information
>  to the user
>
What we're losing here is the description of the image.

Shouldn't we use Alt text as described by success criteria 2 (guideline 1.1,
level 1) "convey the same information" as the image? Why not use the INPUT
element's title attribute to describe the purpose of the INPUT element? This
seems to be more semantically correct. It's a similar to what test 191 is
all about:
http://www.w3.org/WAI/GL/WCAG20/tests/test191.html

The basic idea is to keep Alt text as a description of the image. Use the
title attribute for these other purposes.

Wondering,
Chris

Received on Monday, 20 December 2004 21:41:37 UTC