W3C home > Mailing lists > Public > public-aria@w3.org > May 2016

"children presentational"

From: Birkir Gunnarsson <birkir.gunnarsson@deque.com>
Date: Fri, 13 May 2016 20:07:44 -0400
To: "'ARIA Working Group'" <public-aria@w3.org>
Message-ID: <030001d1ad74$a47779c0$ed666d40$@deque.com>
Everyone

I am somewhat perplexed by the "presentational children" section of the ARIA
1.1 spec.
It says:

"The DOM descendants are presentational. User agents SHOULD NOT expose
descendants of this element through the platform accessibility API. If user
agents do not hide the descendant nodes, some information may be read twice.
"
Are we only talking about the structure of the elements or also about their
contents?
In other words, will the accessible name of these elements consist of a
flattened string of the accessible name of their descendants, or will the
contents be ignored altogether?

E.g.:
<div role="button"><img alt="submit" src="submit.jpg"></div>
Would I expect screen reader to announce this as "submit button" or just
"button".
(announcing this as "submit button image" is definitely out of the
question).
Do I fail this construct as not having an accessible name?


(ditto role="img" "math" "progressbar", "separator", "scrollbar", and
"slider").

Should I fail this construct as an image lacking a ttext alternative?  
<div classs="backgroundImage" role="img">this is alt text for the background
image</div>

I cannot come up with an absolute answer for this based on the section
quoted above, especially when my testing with e.g. screen readers is not
consistent.
Thanks

-Birkir
Received on Saturday, 14 May 2016 00:08:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:58:26 UTC