Re: [html4all] HTML5 Alternative Text, and Authoring Tools

On Tue, May 13, 2008 at 01:08:51PM +0100, Sean Hayes wrote:
> I agree that allowing the src as an alternative to the markup content, rather than the other way around is a better solution for many reasons, including accessibility and internationalisation. However XHTML doesnt solve the key issue in what would:
> <p src="anImage" /> mean to a screen reader?

In XHTMl 2.0, fortunately, it wouldn't be accepted by the XML parser, but
<p src="image.png"></p>
would, and the result for the screen reader would be the same as <img alt=""
src="image.png">

By convention, this means that the image is purely decorative and unimportant;
it's a flag to the screen reader asserting that the image should be ignored.

Now in the case of XHTML 2.0, one might want to modify this convention
slightly: if it's on a block-level element perhaps it's less likely to be purely
decorative, and maybe the user should be notified in that circumstance.
Or perhaps the convention should be retained as is.

Received on Wednesday, 14 May 2008 01:43:16 UTC