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

RE: role="text" and text frames

From: Cynthia Shelly <cyns@microsoft.com>
Date: Wed, 3 Feb 2016 00:00:34 +0000
To: James Teh <jamie@nvaccess.org>, Alexander Surkov <surkov.alexander@gmail.com>, Joseph Scheuhammer <clown@alum.mit.edu>
CC: Richard Schwerdtfeger <schwer@us.ibm.com>, "wai-xtech@w3.org" <wai-xtech@w3.org>, "public-aria@w3.org" <public-aria@w3.org>
Message-ID: <SN1PR0301MB1535D61F243111F1B9BFFDA4C6D00@SN1PR0301MB1535.namprd03.prod.outlook.com>
I think you’d get “f” moving by character, and caret navigation would move to the “f”. Basically, it becomes just some text in the text pattern, with nothing special about it. We could decide to put a format break there, or not.

I should be clear, though. I don’t especially like role=text.  I’m not convinced it’s needed, the issue in 1011 scares me, and there are many details like those you raise to work out.

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

On 3/02/2016 7:53 AM, Cynthia Shelly wrote:

Once upon a <img alt=”foo”> time
For role=text, the text pattern for the page would be “Once upon a foo time”
What would happen if you move by character from the space after the "a"? Would you get "f" or "foo"? And what will pressing right arrow when using browser caret navigation (including contentEditable) do? These are the sort of questions that make techniques like this very problematic. The answers to these questions need to be well defined.

If UIA is really mapping this to the text pattern alone, it could be argued that IA2 should actually do the same; i.e. don't expose an accessible, just expose it in IAccessibleText. However, see the above potential gotchas.



James Teh

Executive Director, NV Access Limited

Ph +61 7 3149 3306


Facebook: http://www.facebook.com/NVAccess

Twitter: @NVAccess

SIP: jamie@nvaccess.org<mailto:jamie@nvaccess.org>
Received on Wednesday, 3 February 2016 00:01:09 UTC

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