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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

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

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

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@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
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.

1 participant