Re: [g-a-devel] HTML 5 figure and figcaption elements.



Hi. Figure element is supposed to contain or group illustrations,
diagrams and etc so role_image is inside a figure accessible.
Originally I tempted to say we don't need an accessible for a figure
and we should expose the underlying image labelled by figcaption
element but that seems doesn't work well when figure is used to group
a set of images or diagrams.

I think when AT sees a figure accessible then it should announce this
is a figure and the figure name obtained from figcaption accessible
and then allow user to go into the figure to pick up underlying
elements. It's used to introduce a sort of new level of abstraction so
that the user goes into it when he's interested in details. For
example:

<figure>
  <figcaption>Alhambra</figcaption>
  <img src="alhambra.jpg" alt="A room of the palace and a view of the
Court of the Lions.">
</figure>

Thanks.
Alex.


On Wed, Nov 9, 2011 at 11:43 PM, Piñeiro <apinheiro igalia com> wrote:
> On 11/09/2011 11:07 AM, Alexander Surkov wrote:
>> Hi. HTML 5 provides two new elements figure and figcaption that seems
>> to don't have a good way for ATK mapping.
>>
>> The proposal is:
>> 1) introduce new ATK role for figure element like ROLE_FIGURE
>> 2) use ROLE_CAPTION for figcaption element
>> 3) make figure and figcaption accessible objects related by label relations
>
> This proposal seems sensible, but I have a question.
>
> From the resources, on the figure description I can read this:
>
> "The element can thus be used to annotate illustrations, diagrams,
> photos, code listings, etc,"
>
> In that sense, it seems that most of the elements that will be assigned
> this new ATK_ROLE_FIGURE role, has right now a ATK_ROLE_IMAGE. So, my
> question:
>
>  * Is there any case of a FIGURE not being a IMAGE?
>  * And the opposite, is there any case of a IMAGE not being a FIGURE?
>
> My main concern here is the usual of someone having problems to figure
> out which one should be used. I guess that this is not a issue on IA2,
> as I didn't find a ATK_ROLE_IMAGE equivalent here:
>
> https://developer.mozilla.org/en/Accessibility/AT-APIs/IA2/Roles
>
>>
>> Resources:
>> w3c: http://dev.w3.org/html5/spec/grouping-content.html#the-figure-element
>> example: http://www.w3schools.com/html5/tryit.asp?filename=tryhtml5_figure
>> TPG blog: http://www.paciellogroup.com/blog/2011/08/html5-accessibility-chops-the-figure-and-figcaption-elements/
>> Mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=658272
>> IA2 thread: http://lists.linuxfoundation.org/pipermail/accessibility-ia2/2011-November/001550.html
>>
>> I would love to hear your feedback.
>>
>> Thank you.
>> Alex.
>> _______________________________________________
>> gnome-accessibility-devel mailing list
>> gnome-accessibility-devel gnome org
>> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel
>>
>
>
> --
> Alejandro Piñeiro Iglesias
>
> _______________________________________________
> gnome-accessibility-devel mailing list
> gnome-accessibility-devel gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]