Accessibility/TextImplementation: Difference between revisions

 
Line 14: Line 14:
Unroll recursively embedded characters into one string for every text accessible. HyperLink interface provides an access to direct embedded objects.
Unroll recursively embedded characters into one string for every text accessible. HyperLink interface provides an access to direct embedded objects.


For example, <pre><p>hello</p><p>text<a>link</a></p></pre> has "hellotextlink" text, for the container accessible containing paragraph elements there are two embedded objects having offsets [0, 5) and [5, 13). Second paragraph has "textlink" text and have one embedded object [4, 8).
For example,  
<pre>
<body>
<p>hello</p><p>text<a>link</a></p>
</body>
</pre>
has "hellotextlink" text, the container accessible (document accessible in this case) has two embedded objects with offsets [0, 5) and [5, 13). Second paragraph has "textlink" text and have one embedded object [4, 8).


=Implementation=
=Implementation=
Confirmed users
1,396

edits