Skip to content

[codex] clarify setCustomValidity submit-button behavior#44419

Draft
paulxg12 wants to merge 1 commit into
mdn:mainfrom
paulxg12:codex/setcustomvalidity-submit-note
Draft

[codex] clarify setCustomValidity submit-button behavior#44419
paulxg12 wants to merge 1 commit into
mdn:mainfrom
paulxg12:codex/setcustomvalidity-submit-note

Conversation

@paulxg12

Copy link
Copy Markdown

Adds a short note to clarify that HTMLButtonElement.setCustomValidity() only affects submit buttons.

Fixes #42234.

Validation:

  • git diff --check

@github-actions github-actions Bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HTMLButtonElement - setCustomValidity(): Specify button type availability

3 participants