Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add accessibility support #3

Merged

Conversation

ddfreiling
Copy link

  • Adds accessibility announcement and navigation for ISMessage.
  • Supports closing ISMessage with Escape gesture (2-finger Z motion).

I considered fixing this on the nativescript side, but might as well fix it in the native library.

@EddyVerbruggen EddyVerbruggen merged commit e6c08ad into EddyVerbruggen:master Jan 23, 2018

if (_duration > 0.5f) {

UIAccessibilityPostNotification(UIAccessibilityLayoutChangedNotification, self.view);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, just noticed this was LayoutChanged, instead of ScreenChanged. ScreenChanged emits a helpful sound for the user, like with default UIAlerts.

@EddyVerbruggen want me to fix this in another PR?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good idea, thank you! I'm just about to test your PR 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants