Hi,
I could live with option 4, it would just make my life easier to have the 
function.
I am OK either way on this.
Brett
 

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of James 
Teh
Sent: Wednesday, February 06, 2013 2:22 PM
To: [email protected]
Subject: Re: [Accessibility-ia2] Plea for a new function

Brett, can you comment as to whether (and why) option 4 isn't feasible?

Thanks,
Jamie

On 7/02/2013 3:43 AM, Pete Brunet wrote:
> Since there is a need for this and the solution is easy to implement 
> it seems worth adding.  Here is a draft for review.
>
> HRESULT IAccessible2_2::offsetInParentText (
>      [out] long* offset
>    );
>
> Return text offset in parent.
>
> Determine the parent accessible which implements IAccessibleText and 
> return the offset in that object which corresponds to the beginning of 
> the text associated with this accessible.  If this accessible 
> implements IAccessibleText, 0 will be returned.
>
> Returns:
>    S_OK is returned if this accessible or a parent accessible 
> implements IAccessibleText.
>    S_FALSE is returned if no nodes implementing IAccessibleText are 
> found; [out] value is 0.
>
> On 2/5/13 10:58 PM, Alexander Surkov wrote:
>> Hi, Pete.
>>
>> Options were discussed:
>> 1) make text leaf accessible implement IAccessibleText (I didn't like 
>> it, 
>> seehttp://lists.linuxfoundation.org/pipermail/accessibility-ia2/2012-
>> November/001731.html)
>> 2) make text leaf accessible implement IAccessibleHyperLink (I didn't 
>> like it, 
>> seehttp://lists.linuxfoundation.org/pipermail/accessibility-ia2/2012-
>> November/001731.html)
>> 3) add a new method DescendantOffset(IAccessible* acc, long* offset) 
>> like Brett suggested (see 
>> http://lists.linuxfoundation.org/pipermail/accessibility-ia2/2012-November/001729.html).
>> I don't mind. It's easy to implement.
>> 4) do nothing (Jamie mentioned that pure 
>> IAccessibleText/HyperLink/HyperText should work also as alternative 
>> approach to the approach described by Brett, but here we probably run 
>> into restrictions of proprietary softwares).
>>
>> Thank you.
>> Alex.
>>
>>
>> On Wed, Feb 6, 2013 at 2:31 AM, Pete Brunet<[email protected]>  wrote:
>>> To all,
>>>
>>> Please review the thread Brett started at:
>>> http://lists.linuxfoundation.org/pipermail/accessibility-ia2/2012-No
>>> vember/001729.html
>>>
>>> to see if any further progress can be made on this issue.
>>>
>>>
>>> On 2/5/13 8:46 AM, Brett Lewis wrote:
>>>
>>> Hi,
>>> I wish we could get it in but it definitely sounded like there was 
>>> no consensus on the issue, so let's let it go.
>>> Thanks,
>>> Brett
>>>
>>>
>>> ________________________________
>>> From: Pete Brunet [mailto:[email protected]]
>>> Sent: Monday, February 04, 2013 7:02 PM
>>> To: Brett Lewis
>>> Cc: IAccessible2 mailing list
>>> Subject: Re: [Accessibility-ia2] Plea for a new function
>>>
>>> Hi Brett, Is this still an issue for you?  We're very near the end 
>>> of discussions for IA2 1.3 and wanted to see if more discussion is 
>>> needed on this issue.  -Pete
>>>
>>> On 11/26/12 7:03 PM, James Teh wrote:
>>>
>>> On 27/11/2012 8:02 AM, Brett Lewis wrote:
>>>
>>> I am getting the Iaccessible tree.  I then find that I want the text 
>>> attributes for one of my leaf nodes and find that I have to go back 
>>> up the Iaccessible tree to find the nearest Iaccessible node that 
>>> allow QI to IAccessibleText and then trying to figure out how to map 
>>> the result back down to my Iaccessible leaf node.
>>>
>>> If you can, for Mozilla, it's best to ignore leaf nodes altogether; i.e.
>>> pretend they don't exist. That way, you're only dealing with nodes 
>>> that support IAccessibleText. However, there may well be a good 
>>> reason you can't do this.
>>>
>>> Jamie
>>>
>>>
>>> --
>>> Pete Brunet
>>>
>>> a11ysoft - Accessibility Architecture and Development
>>> (512) 467-4706 (work), (512) 689-4155 (cell)
>>> Skype: pete.brunet
>>> IM: ptbrunet (AOL, Google),[email protected]  (MSN) 
>>> http://www.a11ysoft.com/about/
>>> Ionosphere: WS4G
>>>
>>>
>>> --
>>> Pete Brunet
>>>
>>> a11ysoft - Accessibility Architecture and Development
>>> (512) 467-4706 (work), (512) 689-4155 (cell)
>>> Skype: pete.brunet
>>> IM: ptbrunet (AOL, Google),[email protected]  (MSN) 
>>> http://www.a11ysoft.com/about/
>>> Ionosphere: WS4G
>>>
>>> _______________________________________________
>>> Accessibility-ia2 mailing list
>>> [email protected]
>>> https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
>>>
>
> --
> *Pete Brunet*
>
> a11ysoft - Accessibility Architecture and Development
> (512) 467-4706 (work), (512) 689-4155 (cell)
> Skype: pete.brunet
> IM: ptbrunet (AOL, Google), [email protected] (MSN) 
> http://www.a11ysoft.com/about/
> Ionosphere: WS4G
>
>
> _______________________________________________
> Accessibility-ia2 mailing list
> [email protected]
> https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
>

--
James Teh
Director, NV Access Limited
Email: [email protected]
Web site: http://www.nvaccess.org/
Phone: +61 7 5667 8372
_______________________________________________
Accessibility-ia2 mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2
_______________________________________________
Accessibility-ia2 mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2

Reply via email to