Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove unnecessary setAriaRole('dialog') fallback in SemanticRoute class #168345

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 8, 2025

Conversation

flutter-zl
Copy link
Contributor

@flutter-zl flutter-zl commented May 5, 2025

Description
This pull request removes the unnecessary setAriaRole('dialog') fallback in the SemanticRoute class within the Flutter web engine. This line was an old fallback and is no longer needed

Before
https://dialog-0505-before.web.app/

After
https://dialog-050502-after.web.app/

Issue Fixed
This PR addresses GitHub Issue #168247, which proposes reconsidering the application of role="dialog" to arbitrary routes.

Pre-launch Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
  • I signed the [CLA].
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is [test-exempt].
  • I followed the [breaking change policy] and added [Data Driven Fixes] where supported.
  • All existing and new tests are passing.

@github-actions github-actions bot added engine flutter/engine repository. See also e: labels. a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) f: routes Navigator, Router, and related APIs. platform-web Web applications specifically labels May 5, 2025
@flutter-zl flutter-zl changed the title Remove unnecessary setAriaRole('dialog') fallback in SemanticDialog class Remove unnecessary setAriaRole('dialog') fallback in SemanticRoute class May 6, 2025
@flutter-zl flutter-zl requested review from yjbanov and mdebbar May 7, 2025 19:40
@flutter-zl flutter-zl marked this pull request as ready for review May 7, 2025 19:41
Copy link
Contributor

@mdebbar mdebbar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@flutter-zl flutter-zl enabled auto-merge May 7, 2025 21:06
@flutter-zl flutter-zl added this pull request to the merge queue May 8, 2025
Merged via the queue into flutter:master with commit 76747c0 May 8, 2025
177 of 178 checks passed
@flutter-zl flutter-zl deleted the fix-issue-168247 branch May 8, 2025 08:39
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 8, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 8, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 8, 2025
auto-submit bot pushed a commit to flutter/packages that referenced this pull request May 8, 2025
flutter/flutter@b0f5c8c...02d8c1a

2025-05-08 [email protected] iOS,macOS: Unify iOS,macOS build configs (flutter/flutter#168517)
2025-05-08 [email protected] Roll Packages from b2ce3b0 to ab44c26 (3 revisions) (flutter/flutter#168548)
2025-05-08 [email protected] Remove unnecessary setAriaRole('dialog') fallback in SemanticRoute class (flutter/flutter#168345)
2025-05-08 [email protected] Roll Skia from 4d617bb1bb7d to 43ae814d2d95 (1 revision) (flutter/flutter#168526)
2025-05-08 [email protected] Roll Fuchsia Linux SDK from _GJje-N2Jk51qtBs6... to mqhX1OP8ezmialgqA... (flutter/flutter#168525)
2025-05-08 [email protected] Make MergeSemantics be able to merge customAction (flutter/flutter#168414)
2025-05-08 [email protected] Roll Skia from d787c26f873a to 4d617bb1bb7d (1 revision) (flutter/flutter#168514)
2025-05-08 [email protected] Roll pub packages (flutter/flutter#168509)
2025-05-07 [email protected] Marks Mac_arm64_ios imitation_game_swiftui to be unflaky (flutter/flutter#163114)
2025-05-07 [email protected] Add option to hide trailing icon in DropdownMenu (flutter/flutter#167782)
2025-05-07 [email protected] Roll Skia from 1ea3ec8e7863 to d787c26f873a (6 revisions) (flutter/flutter#168505)
2025-05-07 [email protected] [web] drop more use of deprecated JS functions (flutter/flutter#166157)
2025-05-07 [email protected] docs: Fixed broken links in WidgetStateProperty documentations (flutter/flutter#168191)
2025-05-07 [email protected] Roll Skia from 14f3e3209b73 to 1ea3ec8e7863 (2 revisions) (flutter/flutter#168489)
2025-05-07 [email protected] Use `config: enable-swift-...: false`, remove `disable-swift-...: true`. (flutter/flutter#168433)
2025-05-07 [email protected] Replace MediaQuery.sizeOf with heightOf and widthOf. (flutter/flutter#168479)
2025-05-07 [email protected] Fix stencil buffer leak (flutter/flutter#168448)
2025-05-07 [email protected] Fix framebuffer leak rendering to secondary views. (flutter/flutter#168447)
2025-05-07 [email protected] Fix uninitalized fields in FlutterWindowMetricsEvent (flutter/flutter#168446)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) engine flutter/engine repository. See also e: labels. f: routes Navigator, Router, and related APIs. platform-web Web applications specifically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants