mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Description This PR fixes an accessibility issue where CheckedPopupMenuItem was not properly announcing its checked state to screen readers. Before https://github.com/user-attachments/assets/b1785522-eea4-4fc3-9a9a-1872615838c0 After Demo app: https://checked-0707.web.app/ https://github.com/user-attachments/assets/a8083c0b-11c8-4e93-bd71-842dfe5fa344 Issues Fixed This PR fixes https://github.com/flutter/flutter/issues/171463. Breaking Changes None. ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement]. - [x] I signed the [CLA]. - [x] I listed at least one issue that this PR fixes in the description above. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported. - [x] All existing and new tests are passing.