diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-01 22:58:52 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-01 22:58:52 +0000 |
commit | 111e7e6c5f51a35d39ccf1cff75e676b1b0d8f6b (patch) | |
tree | 0f62236b143d97c2c22696cb238cfc230e5ad545 /content/browser/accessibility/browser_accessibility_cocoa.h | |
parent | 3b00c2d3dc17dfe7927b4884d029a3aa80afb6d3 (diff) | |
download | chromium_src-111e7e6c5f51a35d39ccf1cff75e676b1b0d8f6b.zip chromium_src-111e7e6c5f51a35d39ccf1cff75e676b1b0d8f6b.tar.gz chromium_src-111e7e6c5f51a35d39ccf1cff75e676b1b0d8f6b.tar.bz2 |
Support list / listbox accessibility attributes on Mac.
This change adds support for AXSelectedChildren, AXVisibleChildren,
and AXOrientation for lists and list boxes. Those are sufficient for VoiceOver
to read, e.g. (3 of 5) when navigating a list of 5 items.
BUG=381971
Review URL: https://codereview.chromium.org/348183007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280906 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/accessibility/browser_accessibility_cocoa.h')
-rw-r--r-- | content/browser/accessibility/browser_accessibility_cocoa.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/accessibility/browser_accessibility_cocoa.h b/content/browser/accessibility/browser_accessibility_cocoa.h index 5fc708f..0f01a7a 100644 --- a/content/browser/accessibility/browser_accessibility_cocoa.h +++ b/content/browser/accessibility/browser_accessibility_cocoa.h @@ -95,6 +95,7 @@ @property(nonatomic, readonly) NSArray* rowHeaders; @property(nonatomic, readonly) NSValue* rowIndexRange; @property(nonatomic, readonly) NSArray* rows; +@property(nonatomic, readonly) NSArray* selectedChildren; // The size of this object. @property(nonatomic, readonly) NSValue* size; // A string indicating the subrole of this object as far as accessibility @@ -109,6 +110,7 @@ @property(nonatomic, readonly) NSString* valueDescription; @property(nonatomic, readonly) NSValue* visibleCharacterRange; @property(nonatomic, readonly) NSArray* visibleCells; +@property(nonatomic, readonly) NSArray* visibleChildren; @property(nonatomic, readonly) NSArray* visibleColumns; @property(nonatomic, readonly) NSArray* visibleRows; @property(nonatomic, readonly) NSNumber* visited; |