• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
What is the AXSections accessibility attribute in OS X?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What is the AXSections accessibility attribute in OS X?


  • Subject: What is the AXSections accessibility attribute in OS X?
  • From: Bill Cheeseman <email@hidden>
  • Date: Sat, 30 Apr 2016 08:26:38 -0400

I asked this question early yesterday on the accessibility-dev list and received no answers, so I thought I would try here.

Using my UI Browser application <pfiddlesoft.com/uibrowser>, I am seeing a new "AXSections" accessibility attribute in all windows of all applications in OS X 10.11 El Capitan, but I can find no reference to it online and no documentation for it. Can anybody enlighten me as to what it is and how it is meant to be used in assistive applications for persons with disabilities, or point me to documentation?

The AXSections attribute returns an array of dictionaries, where each dictionary has three items with keys "SectionDescription", "SectionObject" and "SectionUniqueID".

As you can see from the examples below, I have run across a total of four kinds of unique IDs for AXSections attributes, so far; namely, AXContent, AXContentNavigator, AXTopLevelNavigator, and AXSearch. From these, and from the nature of the standard UI elements that are associated with them, I suspect that AXSections is a new attribute designed to categorize key functional sections of any application window into a very small number of core operations that are common to most applications. This could be used to help assistive applications guide users to the most important parts of any application window. (However, I don't understand why the AXSections attribute is marked as settable.)

For example, the AXSections attribute in a TextEdit window contains two array items:

	SectionDescription = "content"
	SectionObject = an AXUIElementRef object
	SectionUniqueID = "AXContent"

	SectionDescription = "top level navigator"
	SectionObject = an AXUIElement object
	SectionUniqueID = "AXTopLevelNavigator

A Finder window's AXSections attribute adds a third kind:

	SectionDescription = "search"
	SectionObject = an AXUIElementRef object
	SectionUniqueID = "AXSearch"

An Xcode window's attribute adds a fourth:

	SectionDescription = "content navigator"
	SectionObject = an AXUIElementRef object
	SectionUniqueID = "AXContentNavigator"

The AXUIElementRef objects are always standard UI elements that perform a function aptly described by the SectionDescription. For example, the AXContent item for a TextEdit window refers to an AXTextArea UI element, and the AXSearch item for a Finder or Xcode window refers to an AXTextField with a subrole of AXSearchField.

--

Bill Cheeseman - email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: NSTimer after Sleep
  • Next by Date: undomanger performance
  • Previous by thread: Re: NSTimer after Sleep
  • Next by thread: undomanger performance
  • Index(es):
    • Date
    • Thread