Repository navigation
Conversation
RenderSemanticsGestureHandler.scrollFactor has defaulted to 0.8 since the original semantics implementation (flutter#1309). Native iOS scrolls exactly one visible screen per VoiceOver three-finger swipe, so page announcements drift from swipe count. Draft to measure test fallout.
cbracken
previously approved these changes
Sep 30, 2026
LouiseHsu
marked this pull request as ready for review
September 30, 2026 02:23
Contributor
|
autosubmit label was removed for flutter/flutter/193540, because - The status or check suite Google testing has failed. Please fix the issues identified (or deflake) before re-applying this label. |
jmagman
requested changes
Oct 1, 2026
jmagman
left a comment
Member
There was a problem hiding this comment.
It looks like there's more robust ways to do this than another hard coded integer, let's discuss more with the framework team about the right way to do this before merging.
From a chat discussion:
There is a way to have the screen reader scroll by whatever amount the native code wants. @Renzo-Olivares added this capability last year for the web. On the web the browser + OS + screen reader dictate how far to scroll, and the scroll delta/position is communicated through an semantic action sent to the framework.
Contributor
Author
10 of 11 tasks
LouiseHsu
marked this pull request as draft
November 12, 2026 21:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Fixes #193541
When VoiceOver is on, swiping with 3 fingers only scrolls 80% of the screen length, compared to native iOS, which traverses 100% of the screen height. This came up when I was working on #193384 That PR makes VoiceOver announce "page x of y" after a scroll, using the same page math as UIKit, where one page is one full screen. With an 80% step, the swipes and the page count don't line up. Sometimes one swipe announces the same page twice, so it sounds like the swipe didn't do anything. But even without that PR, you can see the discrepancy here. The native app takes 3 swipes to get from top to bottom, while flutter takes 4.
Before
before.flutter.voiceover.scroll.mov
Native
native.voiceover.scroll.mov
After
after.flutter.voice.over.scroll.mov