MDN wants to talk to developers like you: https://qsurvey.mozilla.com/s3/8d22564490d8

MSAA Object Attributes

« AT APIs Support Page

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

Document Tags and Contributors

 Contributors to this page: Sheppy, Aaronlev, Surkov.alexander
 Last updated by: Sheppy,