Hi, Jamie. If text leafs implement IAccessibleHyperlink but previously
IAccessibleHyperlink was implemented by embedded objects only then
this might be something that AT relies on. On the another hand parent
IAccessibleHyperText would return a collection of children instead the
collection of embedded objects and AT could have dependencies on it as
well. I even can't guarantee that we don't have any dependencies on
that internally in Firefox :)

It's different but might be a cause too. If text leaf implements
IAccessibleHyperlink then only startIndex and endIndex make sense on
it. All other methods like valid, selected, anchorCount, etc aren't
applicable to text leafs. So pure IAccessibleHyperlink on text leafs
is rather a hack than it suites them well.

Thank you.
Alex.


On Mon, Feb 11, 2013 at 9:03 AM, James Teh <[email protected]> wrote:
> On 7/02/2013 1:10 PM, Pete Brunet wrote:
>>
>> Alex, Do you see any need to restrict this to the immediate parent? I'm
>> going to assume not in the following:
>> HRESULT IAccessible2_2::offsetInAncestorText (
>
> I'm not sure it makes sense to do this for ancestors other than the
> immediate parent. As I understand it, the point of this method is to get
> back into the realm of IAccessibleText when the text is mirrored in text
> leaf nodes. If there's an accessible between the text leaf and its
> IAccessibleText object, the in-between accessible could itself consume
> offsets in the text. if it is decided to allow it for ancestors, the method
> should probably also return the relevant ancestor.
>
> Alex, can you explain why using IAccessibleHyperlink breaks backwards
> compatibility as opposed to adding this new method?
>
>
> Jamie
>
> --
> 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