Conversation
…bility - Expose selected state (selected: highlight) on Autocomplete option items so screen readers announce the keyboard-highlighted option (b/464138739, b/464133587, b/464122713). - Wrap DrawerHeader in Semantics(header: true) so screen readers expose heading structure (b/462597561, b/462583677). - Add ignorePointer to TooltipThemeData so applications can configure hoverable tooltips globally (TooltipThemeData(ignorePointer: false)) for WCAG 1.4.13 Hoverable compliance without regressing flutter/flutter#142465 (b/463913706).
… DrawerHeader semantics test
kevmoo
marked this pull request as ready for review
September 18, 2026 04:06
Contributor
There was a problem hiding this comment.
Code Review
This pull request exposes the selected state on Autocomplete option semantics, wraps DrawerHeader in Semantics(header: true), and adds ignorePointer to TooltipThemeData to support WCAG 1.4.13 Hoverable tooltips. Feedback suggests removing a redundant Builder widget in Autocomplete's itemBuilder to simplify the widget tree, as the builder context is already provided by itemBuilder.
9 tasks
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.
Description
Improves accessibility across
Autocomplete,DrawerHeader, andTooltipThemeDatainpackages/material_ui(WCAG 1.3.1,WCAG 1.4.13,WCAG 4.1.2):Autocompleteoption selection semantics (WCAG 4.1.2, http://b/464138739, http://b/464133587, http://b/464122713): Exposesselected: highlightonAutocompleteoptionSemanticsnodes so screen readers announce which option is currently keyboard-highlighted.DrawerHeaderheading semantics (WCAG 1.3.1, http://b/462597561, http://b/462583677): WrapsDrawerHeaderinSemantics(header: true)so screen readers expose heading structure for navigation drawer headers.TooltipThemeData.ignorePointer(WCAG 1.4.13 Hoverable, http://b/463913706): Addsfinal bool? ignorePointer;toTooltipThemeDataand honors_tooltipTheme.ignorePointerinTooltip.buildso applications can opt into WCAG 1.4.13 hoverable tooltips globally (TooltipThemeData(ignorePointer: false)) without regressing flutter/flutter#142465.(Companion
RawTooltipStateEscapekey dismissal is in flutter/flutter#192966 per flutter/flutter#188444).Related Issues
Checklist
CHANGELOG.mdorpubspec.yamlfiles (createdpending_changelogs/a11y_autocomplete_drawer_tooltip.yamlinstead).///).flutter analyze) does not report any problems on my PR.