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

RE: role="text" and text frames

From: Matt King <a11ythinker@gmail.com>
Date: Mon, 8 Feb 2016 16:54:45 -0800
To: "'Cynthia Shelly'" <cyns@microsoft.com>, "'Joseph Scheuhammer'" <clown@alum.mit.edu>, "'Alexander Surkov'" <surkov.alexander@gmail.com>
Cc: "'James Teh'" <jamie@nvaccess.org>, "'Richard Schwerdtfeger'" <schwer@us.ibm.com>, <wai-xtech@w3.org>, <public-aria@w3.org>
Message-ID: <012501d162d4$782da0a0$6888e1e0$@Gmail.com>
Cynthia, if that is how it would work, does that mean that it would be literally impossible for the screen reader user to be aware of the image? Like, for example, there would not be any way for the screen reader to provide an option to ignore the text role?

Would the image context menu be out of reach?

Matt

-----Original Message-----
From: Cynthia Shelly [mailto:cyns@microsoft.com] 
Sent: Monday, February 8, 2016 2:10 PM
To: Joseph Scheuhammer <clown@alum.mit.edu>; Alexander Surkov <surkov.alexander@gmail.com>
Cc: James Teh <jamie@nvaccess.org>; Richard Schwerdtfeger <schwer@us.ibm.com>; wai-xtech@w3.org; public-aria@w3.org
Subject: RE: role="text" and text frames

Yes, that's correct.
Again, I'm really not sure this is needed. I think leaving the image role alone would create as good a user experience in this case.

-----Original Message-----
From: Joseph Scheuhammer [mailto:clown@alum.mit.edu] 
Sent: Friday, February 5, 2016 10:08 AM
To: Cynthia Shelly <cyns@microsoft.com>; Alexander Surkov <surkov.alexander@gmail.com>
Cc: James Teh <jamie@nvaccess.org>; Richard Schwerdtfeger <schwer@us.ibm.com>; wai-xtech@w3.org; public-aria@w3.org
Subject: Re: role="text" and text frames

Hi Cynthia,

Thanks for the detailed response; it helps me wrap my head around how UIA works in this case.

I have one question regarding case 4:

On 2016-02-04 4:42 PM, Cynthia Shelly wrote:
>
> 4)Once upon a <img alt=”foo” role=”text”> time
>
> Page text pattern is “Once upon a foo time”
>
> Accessible tree is
>
> Page
>

The accessible name computation is run on the <img> element to get "foo".  But, in this case, you do not assign an accessible name property to any accessible, since there is no accessible for the <img> element.  
Instead, the string "foo" is inserted into the page text pattern at the point where the img accessible would have been, had there been one.

Is that correct?

--
;;;;joseph.

'Die Wahrheit ist Irgendwo da Draußen. Wieder.'
                  - C. Carter -
Received on Tuesday, 9 February 2016 00:55:22 UTC

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