Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Fix #3838: Improve menu accessibility #3845

Merged
merged 1 commit into from
Jun 24, 2021
Merged

Conversation

kylehickinson
Copy link
Collaborator

@kylehickinson kylehickinson commented Jun 24, 2021

  • Adds support for accessibility escape while VoiceOver is active
  • Increases the top inset so there is always space to tap to dismiss the menu

Summary of Changes

This pull request fixes #3838

Submitter Checklist:

  • Unit Tests are updated to cover new or changed functionality
  • User-facing strings use NSLocalizableString()

Test Plan:

  • With VoiceOver active, verify that you can perform a two finger scrub (drawing z shape with two fingers) to dismiss the menu
  • Verify there is now sufficient space at the top of the menu to tap the background to dismiss even when the menu is expanded

Reviewer Checklist:

  • Issues include necessary QA labels:
    • QA/(Yes|No)
    • release-notes/(include|exclude)
    • bug / enhancement
  • Necessary security reviews have taken place.
  • Adequate unit test coverage exists to prevent regressions.
  • Adequate test plan exists for QA to validate (if applicable).
  • Issue is assigned to a milestone (should happen at merge time).

@kylehickinson kylehickinson requested a review from a team June 24, 2021 13:54
@@ -198,7 +203,7 @@ extension MenuViewController: PanModalPresentable {
return _scrollViewChild(in: topVC.view)
}
var longFormHeight: PanModalHeight {
.maxHeight
.maxHeightWithTopInset(32)
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this for this ticket or the last-bookmark-hidden one?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That is for this ticket:

Increases the top inset so there is always space to tap to dismiss the menu

It helps VoiceOver users or users with motor function disabilities to dismiss by tapping the background instead of being forced to dismiss by gesture

- Adds support for accessibility escape while VoiceOver is active
- Increases the top inset so there is always space to tap to dismiss the menu
@kylehickinson kylehickinson merged commit 5abc752 into development Jun 24, 2021
@kylehickinson kylehickinson deleted the menu-accessibility branch June 24, 2021 15:12
@kylehickinson kylehickinson added this to the 1.28 milestone Jun 24, 2021
kylehickinson added a commit that referenced this pull request Jun 24, 2021
- Adds support for accessibility escape while VoiceOver is active
- Increases the top inset so there is always space to tap to dismiss the menu
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Very difficult to dismiss the new menu while VoiceOver is active
3 participants