You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[web:a11y] reconsider applying role="dialog" to arbitrary routes #168247
Currently, the web engine applies role="dialog" as a default fallback for all routes. This logic predates SemanticsRole.dialog and SemanticsRole.alertDialog. Because the engine couldn't tell if a route is a dialog it used the dialog role just in case. This seems no longer necessary now that we have the formal roles, so perhaps it is time to remove this fallback. Basically, the proposal is to remove this line:
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
Remove unnecessary setAriaRole('dialog') fallback in SemanticRoute cl…
flutter-zl commentedon May 12, 2025
Fixed in #168345. Feel free to reopen if issue persists.
github-actions commentedon May 26, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.