Re: role="text" and text frames

On 2016-02-11 3:15 PM, Cynthia Shelly wrote:
> I think that's basically what the text pattern is. But, I'm not completely sure I understand. What would having that accessible do?
>
> Matt wrote:
>
> Hmmm. So you would almost need a completely new kind of accessible that has the "text" as one of its properties. A textobject that could be a container for all the elements that are squashed by the text role.

That's how AXAPI works.  There is an example in the spec involving a 
<div role="text"> with three one word paragraphs:
<div role="text">
   <p>I</p>
   <p>like</p>
   <p>turtles</p>
</div>

That becomes a single AXStaticText accessible whose AXValue property is 
the string "I like turtles".

But, that doesn't answer your question, "What would having that 
accessible do?".


-- 
;;;;joseph.

'Die Wahrheit ist Irgendwo da Draußen. Wieder.'
                  - C. Carter -

Received on Thursday, 11 February 2016 21:22:09 UTC