Re: Default role of <IMG> should be "img"

Steven Faulkner, Tue, 14 Sep 2010 09:53:31 +0100:

> Now if HTML5 were to define a set for classifications for images that could
> be passed through to accessibility APIs as a property of the img I would see
> that as a step forward.
> 
> example:
>  <img type="photograph" alt="president obama sitting in the Oval office
> havinga cup of tea">
>  <img type="logo" alt="W3C">
> 
> accessibility API info:
> 
> name= president obama sitting in the Oval office havinga cup of tea
> role="img"
> type="photograph"
> 
> Then AT could provide the user with preferences to filter images based on
> type.

+1 

Or ARIA could somehow define some subtypes of role="img" - I would 
prefer that. E.g role="photo" or role="img-photo". A way to more fine 
grained classify the type of image, is perhaps the best way to make 
sure that users both don't loose info, but at the same time doesn't get 
overloaded of "this is a graphic" info.
-- 
leif halvard silli

Received on Tuesday, 14 September 2010 10:11:14 UTC