Accessibility/IA2 1.3: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 37: Line 37:
==relations==
==relations==


get interested relations only
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:




==get all hyperlinks from hypertext==
==Hyperlinks from hypertext==
https://lists.linux-foundation.org/pipermail/accessibility-ia2/2010-April/001106.html
 
Propose: performant way to iterate through hyper links


==relation node parent of==
<pre>
https://lists.linux-foundation.org/pipermail/accessibility-ia2/2010-February/001022.html
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.
Confirmed users
1,396

edits

Navigation menu