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

Re: Why does the button role have children presentational="true"?

From: Birkir Gunnarsson <birkir.gunnarsson@deque.com>
Date: Sun, 3 Jan 2016 20:50:05 -0500
Message-ID: <CA++QhYxo9paHCV_EZNn4=4o5jgVp2irh9nAyuU76xcgeMATx4w@mail.gmail.com>
To: Steve Faulkner <faulkner.steve@gmail.com>
Cc: ARIA Working Group <public-aria@w3.org>
Greetings all
Thanks Steve for your explanation.
So "children presentational" is the equivalent of putting
role="presentation" on elements inside the widgets?
I find the text from the spec definition of children presentational confusing.
"The DOM descendants are presentational. User agents SHOULD NOT expose
descendants of this element through the platform accessibility API."
My understanding of this paragraph is that the descendants (including
their contents) should be hidden from assistive technologies.

I would like to change the wording of this definition in the ARIA 1.1
spec to explain that the semantics of the descendant element should be
hidden, the equivalent of putting role="presentation" or "none" on the
descendant elements. However, their content should be exposed to
assistive technologies according to the accessible name algorithm.

Thanks


On 12/31/15, Steve Faulkner <faulkner.steve@gmail.com> wrote:
> On 31 December 2015 at 15:05, Birkir Gunnarsson
> <birkir.gunnarsson@deque.com
>> wrote:
>
>> <span role="button">New Year's Greetings to
>> <span class="IcelandFlag">Iceland</span>
>> </span>
>>
>
>
> Hi Birkir, role=presentation does not hide text nodes, it only hides the
> role semantics (not content) of the element it is on, and any required
> children
>
> So your example would be same as native button:
>
> "New Year's Greetings to Iceland"
>
>
> this info may be helpful: http://w3c.github.io/aria-in-html/#presentation
> --
>
> Regards
>
> SteveF
> Current Standards Work @W3C
> <http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>
>
Received on Monday, 4 January 2016 01:50:35 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:23:18 UTC