{{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
andsetsize
attributes then the accDescription is in the format of ":posinset of :setsize" - otherwise a normal description is used