Repository navigation
[VPAT] Keep a11y_assessments tooltips open while hovered - #13657
Merged
auto-submit[bot] merged 2 commits intoNov 19, 2026
Merged
auto-submit[bot] merged 2 commits into
auto-submit[bot] merged 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request adds a showOnFocus property to the Tooltip widget and TooltipThemeData to display tooltips when a widget receives keyboard focus. It implements focus-change handling in TooltipState, updates theme configuration, and adds comprehensive tests to verify the behavior. There are no review comments, so no additional feedback is provided.
opensource-fork-sync Bot
pushed a commit
to cla7aye15I4nd/opensource-flutter__flutter
that referenced
this pull request
Nov 20, 2026
…er#197056) flutter/packages@81b7c44...898818d 2026-11-20 [email protected] [material_ui] Use correct time format for Sinhala locale (flutter/packages#13645) 2026-11-20 [email protected] [material_ui] Fix showModalBottomSheet safe area on display-feature sub-screens (flutter/packages#13428) 2026-11-20 [email protected] [material_ui] Fix M3 doc errors in the `ElevatedButton` and `FilledButton` (flutter/packages#13685) 2026-11-19 [email protected] [video_player] Convert implementation to Kotlin (flutter/packages#13683) 2026-11-19 [email protected] [flutter_svg] Add SvgLoader.provideSvgInIsolate for unsendable loaders (flutter/packages#13598) 2026-11-19 [email protected] [VPAT] Expose modal drawers with the dialog semantics role (flutter/packages#13660) 2026-11-19 [email protected] [VPAT] Keep a11y_assessments tooltips open while hovered (flutter/packages#13657) 2026-11-19 [email protected] [flutter_svg] Stabilize network SVG cache keys (flutter/packages#13597) 2026-11-19 [email protected] [image_picker_ios] Return an error instead of an empty file when an image cannot be saved (flutter/packages#12998) 2026-11-19 [email protected] [cupertino_ui] Fix CupertinoNavigationBarBackButton assertion debug (flutter/packages#13397) 2026-11-19 [email protected] [go_router] Document when GoRouterState.name and path are null (flutter/packages#13486) If this roll has caused a breakage, revert this CL and set the roller to dry run mode using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
This was referenced Nov 20, 2026
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 flutter/flutter#196562
Depends on #13654. This branch includes its commit, so review only the last commit: "[VPAT] Keep a11y_assessments tooltips open while hovered". I will rebase once #13654 lands.
Problem
In the a11y_assessments test app, plain-message tooltips use the material_ui default
ignorePointer: true, so moving the mouse from a control onto its tooltip starts the exit timer and the tooltip disappears under the pointer. This fails WCAG 1.4.13 Hoverable on the date picker month arrows, the NavigationBar destinations, the Back and drawer menu buttons, and the app bar actions.Fix
The app's shared theme adds
ignorePointer: falsenext toshowOnFocus: truein itsTooltipThemeData, using the existing opt-in, so a hovered tooltip stays open. This touches only the test app, so there is no package version or CHANGELOG change, and the material_ui default is unchanged. Two tests cover it: every app theme setsignorePointerto false, and an app barIconButtontooltip stays open after the mouse moves onto it.Demo
Before: https://flutter-demo-98-after.web.app/#/check-box-list-tile
After: https://flutter-demo-99-after.web.app/#/check-box-list-tile
Hover the Back button, then move the mouse down onto its tooltip. Before: the tooltip disappears. After: it stays open.
#/date-pickerafter clicking Show Date Picker,#/navigation-bar,#/drawer,#/navigation-drawerand#/app-barwith "2. App bar with actions" selected show the same difference.