Skip to content

Fix: Ensure Text widget locale is included in semantics language tag #172034

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 11 commits into from
Jul 24, 2025

Conversation

pedromassango
Copy link
Member

Fixes #162324

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 a: text input Entering text in a text field or keyboard related problems framework flutter/packages/flutter repository. See also f: labels. labels Jul 11, 2025
@github-actions github-actions bot added the a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) label Jul 11, 2025
@pedromassango pedromassango marked this pull request as ready for review July 11, 2025 22:55
@pedromassango pedromassango enabled auto-merge July 11, 2025 22:55
@loic-sharma
Copy link
Member

loic-sharma commented Jul 11, 2025

@pedromassango Hey there, thanks for the wonderful contribution!

Instead of directly assigning folks to the pull request, could you cc them in a comment? This makes sure that the pull request shows up in triage meetings and helps us route it to the best reviewer. Due to vacations we will want someone else to review this PR, which we'll discuss during triage meetings :)

@yjbanov yjbanov removed request for yjbanov and chunhtai July 11, 2025 23:38
@yjbanov
Copy link
Contributor

yjbanov commented Jul 11, 2025

I unassigned the reviewers, who are not available right now, so the PR goes through the normal triage and finds an active reviewer.

@pedromassango
Copy link
Member Author

Instead of directly assigning folks to the pull request, could you cc them in a comment? This makes sure that the pull request shows up in triage meetings and helps us route it to the best reviewer. Due to vacations we will want someone else to review this PR

Sorry, will keep that in mind for the next ones

@pedromassango
Copy link
Member Author

@loic-sharma any clue on why some tests say "all tests passed" but then they end up in failed state?

@justinmc justinmc requested a review from victorsanni July 15, 2025 22:25
Copy link
Contributor

@victorsanni victorsanni left a comment

Choose a reason for hiding this comment

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

LGTM, pending review from others with more knowledge of SemanticsNode. cc @hannah-hyj

@pedromassango
Copy link
Member Author

LGTM, pending review from others with more knowledge of SemanticsNode. cc @hannah-hyj

Disabling automerge for additional review

@pedromassango pedromassango disabled auto-merge July 17, 2025 19:35
@justinmc justinmc requested a review from loic-sharma July 17, 2025 19:47
@loic-sharma loic-sharma requested review from hannah-hyj and removed request for loic-sharma July 18, 2025 00:23
@loic-sharma
Copy link
Member

Ah this looks good to me, but this is waiting for approval from an accessibility expert. I swapped myself out for @hannah-hyj :)

@pedromassango
Copy link
Member Author

Hello @hannah-hyj,
I would like the PR to take the next stable release train... any chance you could find time to review beforehand?

@justinmc justinmc requested a review from Piinks July 22, 2025 22:04
Copy link
Contributor

@Piinks Piinks left a comment

Choose a reason for hiding this comment

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

This LGTM, thank you for contributing @pedromassango.
I will see if we can CP this into beta. I don't think we can CP it into the current stable.

@Piinks Piinks added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 23, 2025
Copy link
Member

@hannah-hyj hannah-hyj left a comment

Choose a reason for hiding this comment

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

This LGTM!

@auto-submit auto-submit bot added this pull request to the merge queue Jul 23, 2025
Merged via the queue into master with commit 5d00045 Jul 24, 2025
78 checks passed
@auto-submit auto-submit bot deleted the fix/lang_a11y_on_Text branch July 24, 2025 01:00
@flutter-dashboard flutter-dashboard bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jul 24, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 24, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 24, 2025
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Jul 24, 2025
flutter/flutter@afba7d7...20788c0

2025-07-24 engine-flutter-autoroll@skia.org Roll Packages from 9c85e5e to 963550c (4 revisions) (flutter/flutter#172696)
2025-07-24 sokolovskyi.konstantin@gmail.com Add missing deprecations to CupertinoDynamicColor. (flutter/flutter#171160)
2025-07-24 engine-flutter-autoroll@skia.org Roll Dart SDK from a181fe571dc8 to 26dece893751 (2 revisions) (flutter/flutter#172683)
2025-07-24 jssaadeh@outlook.com Migrate to null aware elements - Part 1 (flutter/flutter#172198)
2025-07-24 30870216+gaaclarke@users.noreply.github.com licenses_cpp: implements extracting regions from matched text (flutter/flutter#172655)
2025-07-24 137456488+flutter-pub-roller-bot@users.noreply.github.com Roll pub packages (flutter/flutter#172677)
2025-07-24 fluttergithubbot@gmail.com Marks Mac_ios keyboard_hot_restart_ios to be unflaky (flutter/flutter#168053)
2025-07-24 jason-simmons@users.noreply.github.com Roll Abseil and remove a workaround for a Fuchsia target that was unable to build Abseil (flutter/flutter#172665)
2025-07-24 arindamk410@gmail.com Add `automaticallyImplyActions` property to AppBar (flutter/flutter#171113)
2025-07-24 koji.wakamiya@gmail.com fix: TabBar fontFamily inheritance with custom label styles (flutter/flutter#171699)
2025-07-23 fluttergithubbot@gmail.com Marks Linux_mokey new_gallery__crane_perf to be unflaky (flutter/flutter#167633)
2025-07-23 34871572+gmackall@users.noreply.github.com [android] Fix broken `--android-skip-build-dependency-validation` flag (flutter/flutter#172581)
2025-07-23 pedromassango.developer@gmail.com Fix: Ensure Text widget locale is included in semantics language tag (flutter/flutter#172034)
2025-07-23 jhy03261997@gmail.com [Web][a11y] Update selected chips semantics  (flutter/flutter#172660)
2025-07-23 engine-flutter-autoroll@skia.org Roll Skia from eea1c33fbe84 to 094ac350125f (29 revisions) (flutter/flutter#172664)
2025-07-23 fluttergithubbot@gmail.com Marks Mac_arm64_ios imitation_game_flutter to be unflaky (flutter/flutter#168052)
2025-07-23 engine-flutter-autoroll@skia.org Roll Dart SDK from a31774a3d049 to a181fe571dc8 (2 revisions) (flutter/flutter#172667)
2025-07-23 okorohelijah@google.com Adapt xcresult parser for Xcode 16 changes (flutter/flutter#172596)
2025-07-23 jason-simmons@users.noreply.github.com Update excluded_files to match the current output of the old license checker (flutter/flutter#172670)
2025-07-23 a-siva@users.noreply.github.com Manual Roll of Dart SDK from da9e0299c120 to a31774a3d049 (flutter/flutter#172616)
2025-07-23 34871572+gmackall@users.noreply.github.com [FGP] Small restructuring of Android Studio native flutter dependency support (flutter/flutter#172651)
2025-07-23 30870216+gaaclarke@users.noreply.github.com revert:  Replaces legacy licenses check with licenses_cpp (flutter/flutter#172568)
2025-07-23 codefu@google.com fix: size-exp naming (flutter/flutter#172647)
2025-07-23 engine-flutter-autoroll@skia.org Roll Fuchsia Test Scripts from MnFlN7VWM_7h7EmBV... to BWj3yYC74ud58QhN0... (flutter/flutter#172646)
2025-07-23 flar@google.com [DisplayList] implement shadow bounds without relying on Skia utilities (flutter/flutter#172572)
2025-07-23 matanlurey@users.noreply.github.com Update `dev/bots/post_process_docs.dart` to use `flutter.version.json` (flutter/flutter#172601)
2025-07-23 matanlurey@users.noreply.github.com Emit a warning on `--[no-]disable-dds`, preferring `--no-dds` (flutter/flutter#172595)

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 stuartmorgan@google.com 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
@Piinks Piinks added the cp: beta cherry pick this pull request to beta release candidate branch label Jul 24, 2025
flutteractionsbot pushed a commit to flutteractionsbot/flutter that referenced this pull request Jul 24, 2025
…lutter#172034)

Fixes flutter#162324

## 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.
- [ ] 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].
- [ ] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [ ] All existing and new tests are passing.
@pedromassango
Copy link
Member Author

I will see if we can CP this into beta. I don't think we can CP it into the current stable.

It is fine, managed to get around it. Ok with it coming on the next non-cherrypick stable release

@Piinks
Copy link
Contributor

Piinks commented Jul 24, 2025

What was the workaround?

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) a: text input Entering text in a text field or keyboard related problems cp: beta cherry pick this pull request to beta release candidate branch framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flutter Web: Identify any changes in language on a page by using the lang attribute (Accessibility)
6 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy