W3C home > Mailing lists > Public > public-pfwg@w3.org > December 2014

Re: Question regarding role="text" example 15

From: Matthew King <mattking@us.ibm.com>
Date: Thu, 4 Dec 2014 10:04:31 -0800
To: Joanmarie Diggs <jdiggs@igalia.com>
Cc: "'W3C WAI Protocols & Formats'" <public-pfwg@w3.org>
Message-Id: <OFFAE18EEF.850F376F-ON88257DA4.00617D66-88257DA4.00634AFF@notes.na.collabserv.com>
Joanmarie Diggs wrote:
> The following is currently in the ARIA spec for role="text":
> 
> > The text role can also be used to flatten structural semantics
> > without providing an explicit label. The following example would
> > be presented to assistive technolgies as one static text element
> > ("I like turtles") rather than three separate paragraphs.
> > 
> > EXAMPLE 15
> > <div role="text">
> >   <p>I</p>
> >   <p>like</p>
> >   <p>turtles</p>
> > </div>
> 
> I'm first and foremost curious as to the use case. Beyond that, should
> the resulting words be separated by spaces or by new line characters? I
> would think the latter.

I too wonder what the use cases are. Why do we need this?

This is like repurposing <P> as <SPAN> or <DIV>. Should ARIA be doing 
that?

We already have role presentation for doing things like flattening layout 
tables.

I believe there is very substantial risk associated with this flattening 
behavior and that it should only be adopted if there is clearly 
overwhelming need and broad-based calls for it.

Matt King
IBM Senior Technical Staff Member
I/T Chief Accessibility Strategist
IBM BT/CIO - Global Workforce and Web Process Enablement 
Phone: (503) 578-2329, Tie line: 731-7398
mattking@us.ibm.com

Joanmarie Diggs <jdiggs@igalia.com> wrote on 12/04/2014 08:34:19 AM:

> From: Joanmarie Diggs <jdiggs@igalia.com>
> To: "'W3C WAI Protocols & Formats'" <public-pfwg@w3.org>, 
> Date: 12/04/2014 08:35 AM
> Subject: Question regarding role="text" example 15
> 
> Hey all.
> 
> The following is currently in the ARIA spec for role="text":
> 
> > The text role can also be used to flatten structural semantics
> > without providing an explicit label. The following example would
> > be presented to assistive technolgies as one static text element
> > ("I like turtles") rather than three separate paragraphs.
> > 
> > EXAMPLE 15
> > <div role="text">
> >   <p>I</p>
> >   <p>like</p>
> >   <p>turtles</p>
> > </div>
> 
> I'm first and foremost curious as to the use case. Beyond that, should
> the resulting words be separated by spaces or by new line characters? I
> would think the latter.
> 
> --joanie
> 
> p.s. typo: s/technolgies/technologies/
> 
Received on Thursday, 4 December 2014 18:05:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:45:16 UTC