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

Fixes: #2796 - ActionItems lacks proper support for VoiceOver on iOS #2799

Merged
merged 2 commits into from
Oct 5, 2016

Conversation

m-abs
Copy link
Contributor

@m-abs m-abs commented Sep 26, 2016

fixes: #2796 - ActionItems lacks proper support for VoiceOver on iOS

The UIBarButtonItem element wasn't always created with a title/text so VoiceOver couldn't know what to read for the user.
This PR marks the element as an AccessibilityElement and sets the accessibilityLabel to the title/text if one is set.

I've chosen to mark the UIBarButtonItem with just UIAccessibilityTraitButton-trait, because I see it as the most general trait I could set.

…er on iOS

UIBarButtonItem weren't created with a title/text so VoiceOver couldn't
know what to reads. This marks the element as an AccessibilityElement
and sets an accessibilityLabel.
@ns-bot
Copy link

ns-bot commented Sep 26, 2016

Can one of the admins verify this patch?

@dtopuzov
Copy link
Contributor

run ci

@vchimev
Copy link
Contributor

vchimev commented Sep 27, 2016

uitests

Copy link
Contributor

@vchimev vchimev left a comment

Choose a reason for hiding this comment

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

Thank you for the pull request. We are currently reviewing it ...

@vakrilov
Copy link
Contributor

vakrilov commented Oct 5, 2016

LGTM 👍

@hshristov hshristov merged commit 37d927b into NativeScript:master Oct 5, 2016
@m-abs m-abs deleted the issue-2796 branch December 9, 2016 08:53
@lock
Copy link

lock bot commented Aug 27, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ActionItems lacks proper support for VoiceOver on iOS
6 participants