W3C home > Mailing lists > Public > public-html@w3.org > April 2008

Re: Another summary of alt="" issues and why the spec says what it says

From: Steven Faulkner <faulkner.steve@gmail.com>
Date: Fri, 18 Apr 2008 11:41:24 +0200
Message-ID: <55687cf80804180241y5c0c2265m12c8e9912932fe59@mail.gmail.com>
To: joshue.oconnor@cfit.ie
Cc: "Ian Hickson" <ian@hixie.ch>, "Jim Jewett" <jimjjewett@gmail.com>, david.dailey@sru.edu, "John Foliot" <foliot@wats.ca>, HTML4All <list@html4all.org>, "Dan Connolly" <connolly@w3.org>, "HTML WG" <public-html@w3.org>, "Michael(tm) Smith" <mike@w3.org>, wai-xtech@w3.org, "Al Gilman" <Alfred.S.Gilman@ieee.org>

Hi Josh, i think you maybe missing something.

question - how does using aria-describedby help in this example (or
rather how could it help as the expected AT behaviuor is not yet
documented)

<h2>Photograph 2</h2>
  <img src=321098412.jpeg>
  <p>View North East from 23 High Street.</p>

AT (screen reader in this case jaws/window eyes) cannot be certain of
the relationship bewteen the content of the <p> and the image. theer
is nothing in the amrkup that says this <p> contains a  description of
the <img> above it.

announces:
Photograph 2 View North East from 23 High Street.

Not bad agreed.


same thing with describedby added:

<h2>Photograph 2</h2>
  <img src=321098412.jpeg arai-describedby="photo2">
  <p id="photo2">View North East from 23 High Street.</p>


what is known is that describebdy maps to MSAA description, so the
explicit association is provided and semantic relationship is provided
what is in this <p> is a description of <img> 321098412.jpeg

so could announce;

"Photograph 2  Description  View North East from 23 High Street."

Since there is an explicit description relationship it the AT could
now include the image in the virtual tab order for Graphics (example
in JAWS using the G key a user can navigate the page via graphics that
have an alt value).

When the user has virtual focus on the graphic the description could
be announced.

"Description  View North East from 23 High Street."


It could also use the description to provide a label in the graphics
list (In JAWS Graphics list CTRL+INSERT+G), rather than it being
absent.

does this provide some examples of how it could help in this example?


regards
steve
 .

On 18/04/2008, Joshue O Connor <joshue.oconnor@cfit.ie> wrote:
> Steven Faulkner wrote:
> >
> > > I agree it wouldn't necessarily be obvious to the computer, but it's the
> > > >user that matters, and I can't really see why the association wouldn't
> be
> > > >obvious to the user.
> > >
> >
> > becasue being contiguous is a wek relationship and prone to error.
> >
>
> I don't follow. There are plenty of elements and attributes whose
> relationship is contiguous or defined in a linear way and they work fine.
> This comment suggests that writing code in a way that defines the
> relationships in a "non-serial" or more lateral way is somehow better?
>
> Or am I missing something?
>
> I guess you can use of aria-describedby to create programmatic associations
> with content that is in order parts of the document or indeed in other
> resources/URIs but how is this somehow better?
>
> Cheers
>
> Josh
>
>


-- 
with regards

Steve Faulkner
Technical Director - TPG Europe
Director - Web Accessibility Tools Consortium

www.paciellogroup.com | www.wat-c.org
Web Accessibility Toolbar -
http://www.paciellogroup.com/resources/wat-ie-about.html
Received on Friday, 18 April 2008 09:42:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:15 GMT