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

iOS Bug: Accessibility: With VoiceOver on, text fields gain focus when touching them #35

Closed
krille-chan opened this issue Jul 15, 2023 · 2 comments
Labels
Needs upstream fix The issue cannot be fixed in this project and waits for an upstream fix. stale The item is going to be closed soon because of inactivity

Comments

@krille-chan
Copy link
Owner

Description

On iOS, when VoiceOver is on, controls should not immediately gain focus or be activated when touching them. Instead, a frame is put around the item, and VoiceOver speaks it. Only when then double-tapping anywhere on the screen, should the item that has the frame be activated/a tap simulated.

To Reproduce

  1. Install FluffyChat.
  2. Start VoiceOver accessibility feature.
  3. Touch the FluffyChat icon and double-tap to activate.
  4. Touch the text field that contains the Home Server address. If this is not a fresh install, touch and double-tap a room, then touch the text field at the bottom.
  • Expected: VoiceOver should speak that this is a text field, but the keyboard should not come up yet. The keyboard should only come up and the cursor appear in the field if a double-tap is executed.
  • Actual: Just touching the text field causes the cursor to be put into the field and the keyboard to appear.

Background: I suspect this is due to something causing the UIAccessibilityTraitSupportsDirectInteraction trait to be set on this element. This is either due to something in the FluffyChat code, or a problem in the way the widget gets translated to the native iOS accessibility information from Flutter. The key is the SupportsDirectInteraction part. This is not appropriate to use as a trait in this control, since VoiceOver provides its own functionality for cursor movement and other editing features. This trait should only be used on very rare occasions, for example the piano keys in GarageBand.

Additional information:

  • Device: iPhone 11 Pro max.
  • OS and OS version: iOS 14.4
  • Installed version of FluffyChat: 1.0 from App Store.
  • (Android only) Which store are you using:
  • (Android only) Are Google Services available:
Copy link

github-actions bot commented Mar 7, 2024

This issue is stale because it has been open for 120 days with no activity.

@github-actions github-actions bot added the stale The item is going to be closed soon because of inactivity label Mar 7, 2024
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 22, 2024
AaronDewes pushed a commit to OpenSchulcampusTools/schulchat that referenced this issue Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs upstream fix The issue cannot be fixed in this project and waits for an upstream fix. stale The item is going to be closed soon because of inactivity
Projects
None yet
Development

No branches or pull requests

1 participant