W3C home > Mailing lists > Public > public-svg-wg@w3.org > July to September 2015

Re: aria-describedat

From: Chaals McCathie Nevile <chaals@yandex-team.ru>
Date: Tue, 11 Aug 2015 11:40:31 +0200
Cc: "Michael Cooper" <cooper@w3.org>, "Ted O'Connor" <eoconnor@apple.com>, "Steve Faulkner" <faulkner.steve@gmail.com>, "Janina Sajka" <janina@rednote.net>, "Judy Brewer" <jbrewer@w3.org>, "James Craig" <jcraig@apple.com>, "George Kerscher" <kerscher@montana.com>, "Leonie Watson" <lwatson@paciellogroup.com>, "Markus Gylling" <markus.gylling@gmail.com>, "public-digipub-ig@w3.org" <public-digipub-ig@w3.org>, "W3C PF - DPUB Joint Task Force" <public-dpub-aria@w3.org>, "HTMLWG WG" <public-html@w3.org>, PF <public-pfwg@w3.org>, "SVG WG" <public-svg-wg@w3.org>, "David (Standards) Singer" <singer@apple.com>
To: "Richard Schwerdtfeger" <schwer@us.ibm.com>, "Gunderson, Jon R" <jongund@illinois.edu>
Message-ID: <op.x266htmzs7agh9@130.193.40.121-vpna.dhcp.yndx.net>
On Mon, 10 Aug 2015 20:29:57 +0200, Gunderson, Jon R
<jongund@illinois.edu> wrote:

> Rich,
>
> In your example does the SUMMARY element content serve as the text  
> equivalent for the image, or would the image also need an ALT attribute?

In the example as suggested, it appears that there needs to be an alt as  
well.

Actually, the example wouldn't work at the moment, and would force  
everyone to read the full table, which is pretty sub-optimal, given that  
details/summary isn't implemented - and therefore nor is it part of an  
HTML standard.

An alternative is to provide the table via longdesc, but while almost all  
screenreaders support this fine, support for non-screenreader users in  
browsers is still pretty much rubbish :(

cheers

Chaals

> From: Richard Schwerdtfeger [mailto:schwer@us.ibm.com]
> Sent: Monday, August 10, 2015 12:06 PM
>
>> yes. but I would not put the in the details. I would embed that in a  
>> Figure with the figcaption having the details.
>
>> Note: this did not make the cut for HTML5. This would be HTML 5.1. but  
>> right now we don't have support in IE, Edge, or Firefox.
>
>> Also, given that HTML5.1 is not done I would recommed this design  
>> pattern:
>
>> <figure>
>> <figcaption>
>> <details src="http://... foo.html">
>>  <summary>Texas Roots</summary>
>>  ... optional content if the URL is not retrievable. ... like your  
>> table.
>> </details>
>> </figcaption>
>> <img src="xxxx">
>> </figure>
>
>> This would allow access to diagram project descriptions which could be  
>> rendered into details.


-- 
Charles McCathie Nevile - web standards - CTO Office, Yandex
    chaals@yandex-team.ru - - - Find more at http://yandex.com
Received on Tuesday, 11 August 2015 09:41:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 11 August 2015 09:41:16 UTC