Skip to content

fix(material/form-field): preserve aria-describedby set externally across all form controls #30699

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 1 commit into from
Apr 16, 2025

Conversation

adolgachev
Copy link
Contributor

@adolgachev adolgachev commented Mar 24, 2025

Expand fix for Input to properly handle aria-describedby set manually (e.g. by AriaDescriber) to all form fields when syncing described by ids.

@adolgachev adolgachev changed the title add describedbyids and use to preserve existing ids fix(material/form-field): preserve aria-describedby set externally across all form controls Mar 27, 2025
@adolgachev adolgachev marked this pull request as ready for review March 28, 2025 22:36
@adolgachev adolgachev requested a review from a team as a code owner March 28, 2025 22:36
@adolgachev adolgachev requested review from crisbeto and andrewseguin and removed request for a team March 28, 2025 22:36
@adolgachev
Copy link
Contributor Author

TESTED=TGP

…ross all form controls

fix(material/form-field): preserve aria-describedby set externally across all form controls

add describedbyids and use to preserve existing ids

add describedByIds to input

add comment

Move better sync logic to formfield

add describedByIds to other controls

update api goldens

tweak comment

add more tests
@adolgachev adolgachev added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Apr 11, 2025
@adolgachev adolgachev added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Apr 15, 2025
@adolgachev
Copy link
Contributor Author

Caretaker Note: Merge with cl/741319445.

@andrewseguin andrewseguin added target: major This PR is targeted for the next major release and removed target: patch This PR is targeted for the next patch release labels Apr 16, 2025
@andrewseguin andrewseguin merged commit a5aade2 into angular:main Apr 16, 2025
27 of 30 checks passed
@adolgachev adolgachev deleted the ff-described branch April 28, 2025 18:31
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: material/form-field merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants