Confirmed users
1,396
edits
No edit summary |
No edit summary |
||
| Line 37: | Line 37: | ||
==relations== | ==relations== | ||
get | Propose: a way to get relations by type | ||
https://lists.linux-foundation.org/pipermail/accessibility-ia2/2010-April/001071.html | |||
<pre> | |||
interface IAccessible2_2: public IAccessible | |||
{ | |||
/** | |||
* Return IEnumVariant of IAccessibleRelation objects for the given type. | |||
*/ | |||
[propget] HRESULT relationsByType | |||
( | |||
[in] BSTR type, | |||
[out, retval] IEnumVariant* relations | |||
); | |||
}; | |||
</pre> | |||
See [https://lists.linux-foundation.org/pipermail/accessibility-ia2/2010-April/001071.html IA2 thread] for discussion. | |||
==Object attribute== | ==Object attribute== | ||
| Line 47: | Line 62: | ||
interface IAccessible2_2: public IAccessible | interface IAccessible2_2: public IAccessible | ||
{ | { | ||
[propget] HRESULT attribute([in] BSTR name, [out, retval] BSTR* value); | [propget] HRESULT attribute | ||
( | |||
[in] BSTR name, | |||
[out, retval] BSTR* value | |||
); | |||
}; | }; | ||
</pre> | </pre> | ||
| Line 77: | Line 96: | ||
== | ==Hyperlinks from hypertext== | ||
Propose: performant way to iterate through hyper links | |||
<pre> | |||
https://lists.linux-foundation.org/pipermail/accessibility-ia2/2010- | interface IAccessibleHypertext2 : public IAccessibleText | ||
{ | |||
/** | |||
* Return IEnumVariant of IAccessibleHyperlink objects. | |||
*/ | |||
[propget] HRESULT hyperlinks | |||
( | |||
[out, retval] IEnumVariant* hyperlinks | |||
); | |||
}; | |||
</pre> | |||
See [https://lists.linux-foundation.org/pipermail/accessibility-ia2/2010-April/001106.html IA2 thread] for discussion. | |||
==Caret offset and accessible containing the caret== | ==Caret offset and accessible containing the caret== | ||
| Line 94: | Line 127: | ||
* offset within it. | * offset within it. | ||
*/ | */ | ||
[propget] HRESULT accessibleWithCaret ( | [propget] HRESULT accessibleWithCaret | ||
( | |||
[out, retval] IUnknown **accessible, | [out, retval] IUnknown **accessible, | ||
[out] long* caretOffset); | [out] long* caretOffset | ||
); | |||
}; | }; | ||
</pre> | </pre> | ||
| Line 114: | Line 149: | ||
* Return anchor target if any and still valid. | * Return anchor target if any and still valid. | ||
*/ | */ | ||
[propget] HRESULT anchorTarget ( | [propget] HRESULT anchorTarget | ||
[out, retval] IUnknown **accessible); | ( | ||
[out, retval] IUnknown **accessible | |||
); | |||
}; | }; | ||
</pre> | </pre> | ||
| Line 131: | Line 168: | ||
* Return document accessible (IAccessibleDocument) containing the accessible. | * Return document accessible (IAccessibleDocument) containing the accessible. | ||
*/ | */ | ||
[propget] HRESULT document ( | [propget] HRESULT document | ||
[out, retval] IUnknown **accessible); | ( | ||
[out, retval] IUnknown **accessible | |||
); | |||
}; | }; | ||
</pre> | </pre> | ||
==relation node parent of== | |||
https://lists.linux-foundation.org/pipermail/accessibility-ia2/2010-February/001022.html | |||
==name== | ==name== | ||
expose how name was determined, i.e. if it was provided by author or is it fallback name https://bugzilla.mozilla.org/show_bug.cgi?id=637578. | expose how name was determined, i.e. if it was provided by author or is it fallback name https://bugzilla.mozilla.org/show_bug.cgi?id=637578. | ||