Re: APIs for Accessibility Display Settings
Re: APIs for Accessibility Display Settings
- Subject: Re: APIs for Accessibility Display Settings
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 16 Feb 2016 09:22:32 -0500
On Feb 16, 2016, at 5:33 AM, Josh Scotland < email@hidden> wrote:
I don’t believe there is a public way to query the values. If you haven’t already, please file a bug to bugreport.apple.com. It sounds reasonable for the iOS and OS X APIs to match in this regard.
Thanks, Josh On Feb 1, 2016, at 1:02 PM, Charlie Powell < email@hidden> wrote:
We're looking for, but have been unable to find, documented APIs to query the state of preferences under the Accessibility Display settings on OS X and iOS, e.g. Invert colors, Increase contrast, etc. It seems UIKit has a way to query for invert colors on iOS (UIAccessibilityIsInvertColorsEnabled), but nothing seems to exist in AppKit for Mac. Similarly, there's nothing for Mac or iOS about increase contrast.
Does anyone know if there is something out there we can use? At one point, we saw Google Chrome detect certain display settings to prompt us to install an extension for high contrast, but without an easy API to find it's unclear how this is done.
System Preferences is scriptable using AppleScript and GUI Scripting. I don't have time to check out this pane, but I have read and controlled the settings in other panes using these techniques. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden