Accessibility/IA2 1.3

From MozillaWiki
Jump to navigation Jump to search

Summary

This page describes proposed changes to next IAccessible2 specification.

Suggestions

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.

registry API

add interface to request certain features to improve server/client performance - https://lists.linux-foundation.org/pipermail/accessibility-ia2/2010-June/001186.html

relations

get interested relations only https://lists.linux-foundation.org/pipermail/accessibility-ia2/2010-April/001071.html

text and object attributes

get range for interested text attributes, get interested object attributes

https://lists.linux-foundation.org/pipermail/accessibility-ia2/2009-October/000980.html

get all hyperlinks from hypertext

https://lists.linux-foundation.org/pipermail/accessibility-ia2/2010-April/001106.html

relation node parent of

https://lists.linux-foundation.org/pipermail/accessibility-ia2/2010-February/001022.html

Caret offset and caret containing accessible

Propose: performant way to get caret offset within direct hypertext accessible containing the caret.

interface IAccessible2_2 : public IAccessible2
{
  /**
   * Return hypertext accessible in subtree of the accessible and caret
   * offset within it.
   */
  [propget] HRESULT accessibleWithCaret (
    [out, retval] IUnknown **accessible,
    [out] long* caretOffset);
};

Note: AT should call the method on content document for performance reason.

interface IAccessible2_2 : public IAccessible2
{
  /**
   * Return content document accessible.
   */
  [propget] HRESULT contentDocument (
    [out, retval] IUnknown **accessible);
};

See IA2 thread for discussion.

get anchor target method

https://bugzilla.mozilla.org/show_bug.cgi?id=617544