Skip to content
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

Remove anti-a11y preventDefault example #38649

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

Josh-Cena
Copy link
Member

This example is too overengineered to be illustrative for preventDefault. It's also fully replaced by constraint validation.

Fixes #27478

@Josh-Cena Josh-Cena requested a review from a team as a code owner March 14, 2025 22:51
@Josh-Cena Josh-Cena requested review from sideshowbarker and removed request for a team March 14, 2025 22:51
@github-actions github-actions bot added Content:WebAPI Web API docs size/m [PR only] 51-500 LoC changed labels Mar 14, 2025
Copy link
Contributor

Preview URLs

Flaws (1)

URL: /en-US/docs/Web/API/Event/preventDefault
Title: Event: preventDefault() method
Flaw count: 1

  • macros:
    • Macro produces link /en-US/docs/Glossary/user_agent which is a redirect

@sideshowbarker sideshowbarker merged commit 35b2fac into mdn:main Mar 17, 2025
7 checks passed
@Josh-Cena Josh-Cena deleted the rm-preventdefault-example branch March 17, 2025 14:27
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/m [PR only] 51-500 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Event.preventDefault: Inaccessible example
2 participants