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 171308 of MSAA Object Attributes

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

Revision Content

{{template.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 is a terrible hack that we still support because older screen readers need it, but in the future it may be removed. It is only used to support group attributes in the following ways:

  • 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>{{template.BackToPage("Accessibility:AT-APIs#Supported_Object_Attributes", "AT APIs Support")}}
</p>
<h2 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 is a terrible hack that we still support because older screen readers need it, but in the future it may be removed. It is only used to support <a href="en/Accessibility/AT-APIs/Gecko/Attrs#Group_Attributes">group attributes</a> in the following ways:
</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