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

Re: role="text" and text frames

From: Joseph Scheuhammer <clown@alum.mit.edu>
Date: Tue, 9 Feb 2016 13:23:28 -0500
To: Rich Schwerdtfeger <richschwer@gmail.com>, Matt King <a11ythinker@gmail.com>, Cynthia Shelly <cyns@microsoft.com>, Alexander Surkov <surkov.alexander@gmail.com>, James Teh <jamie@nvaccess.org>
Cc: Rich Schwerdtfeger <schwer@us.ibm.com>, wai-xtech@w3.org, public-aria@w3.org
Message-ID: <56BA2EA0.1050006@alum.mit.edu>

Here's another data point.  I tried the <img> example from the spec with 
Safari, namely:

<p>I <img src="icon.gif" alt="love" role="text"> New York.</p>

In terms of the a11y tree, the paragraph contains three accessibles, all 
with a static text role (AXStaticText).  There is no image accessible in 
the tree.

Reading by character and arrowing through the text, VoiceOver reads 
"I",  "love", "N", "e", "w", "space", and so on.  That is, it treats the 
string "love" as a single character.


'Die Wahrheit ist Irgendwo da Drau├čen. Wieder.'
                  - C. Carter -
Received on Tuesday, 9 February 2016 18:23:53 UTC

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