Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 171309 of MSAA Object Attributes

  • Revision slug: Accessibility/AT-APIs/MSAA/Attrs
  • Revision title: MSAA Object Attributes
  • Revision id: 171309
  • Created:
  • Creator: Aaronlev
  • Is current revision? No
  • Comment /* Introduction */

Revision Content

{{ BackToPage("Accessibility:AT-APIs#Supported_Object_Attributes", "AT APIs Support") }}

Introduction

MSAA doesn't have a way to expose object attributes. In Gecko some object attributes are still exposed via the text in IAccessible::getDescription(). This technique is only used to support group attributes. This is a terrible hack that Mozilla still supports because older screen readers depend on it, but in the future it may be removed in favor of IA2 object attributes and groupPosition().

  • if accessible object has group attributes and children then the accDescription is in the format of "L:level, :posinset of :setsize with :childcount"
  • if accessible object has group attributes but hasn't children then the accDescription is in the format of "L:level, :posinset of :setsize"
  • if accessible object has posinset and setsize attributes then the accDescription is in the format of ":posinset of :setsize"
  • otherwise a normal description is used

Revision Source

<p> </p><p>{{ BackToPage("Accessibility:AT-APIs#Supported_Object_Attributes", "AT APIs Support") }}
</p>
<h2 id="Introduction" name="Introduction">Introduction</h2>
<p>MSAA doesn't have a way to expose object attributes. In Gecko some object attributes are still exposed via the text in IAccessible::getDescription(). This technique is only used to support <a href="en/Accessibility/AT-APIs/Gecko/Attrs#Group_Attributes">group attributes</a>. This is a terrible hack that Mozilla still supports because older screen readers depend on it, but in the future it may be removed in favor of IA2 object attributes and groupPosition().
</p>
<ul><li> if accessible object has group attributes and children then the accDescription is in the format of "L:level, :posinset of :setsize with :childcount"
</li><li> if accessible object has group attributes but hasn't children then the accDescription is in the format of "L:level, :posinset of :setsize"
</li><li> if accessible object has <code>posinset</code> and <code>setsize</code> attributes then the accDescription is in the format of ":posinset of :setsize"
</li><li> otherwise a normal description is used
</li></ul>
Revert to this revision