Skip to content

fix(multiple): prevent form submissions in aria directives#33297

Merged
crisbeto merged 1 commit into
angular:mainfrom
crisbeto:aria-default-buttons
May 21, 2026
Merged

fix(multiple): prevent form submissions in aria directives#33297
crisbeto merged 1 commit into
angular:mainfrom
crisbeto:aria-default-buttons

Conversation

@crisbeto

Copy link
Copy Markdown
Member

Updates a few of the Aria directives that are likely to be placed on buttons to have type="button" by default. This prevents them from accidentally submitting forms.

Updates a few of the Aria directives that are likely to be placed on buttons to have `type="button"` by default. This prevents them from accidentally submitting forms.
@crisbeto crisbeto requested a review from ok7sai May 21, 2026 07:50
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label May 21, 2026
@pullapprove pullapprove Bot requested a review from tjshiu May 21, 2026 07:50
@crisbeto crisbeto added target: rc This PR is targeted for the next release-candidate action: merge The PR is ready for merge by the caretaker and removed target: patch This PR is targeted for the next patch release labels May 21, 2026
@crisbeto crisbeto merged commit 11e2eb3 into angular:main May 21, 2026
31 checks passed
@crisbeto

Copy link
Copy Markdown
Member Author

This PR was merged into the repository. The changes were merged into the following branches:

crisbeto added a commit that referenced this pull request May 21, 2026
Updates a few of the Aria directives that are likely to be placed on buttons to have `type="button"` by default. This prevents them from accidentally submitting forms.

(cherry picked from commit 11e2eb3)
@angular-automatic-lock-bot

Copy link
Copy Markdown

This pull request 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 Jun 21, 2026
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 target: rc This PR is targeted for the next release-candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants