HTML Accessibility Fix Assistant — illustrative example INPUT Replace
Send message
in an existing HTML form. The form's submit handler already performs validation and calls submitForm(). RESULT The native submit button uses the existing form submission path. Verify Enter/Space interaction, visible focus, validation errors and prevention of duplicate sends. Do not retain a second click handler that also calls submitForm(). REVIEW Semantic HTML fixes should preserve functionality and be tested in context. Adding ARIA is not a substitute for choosing the correct native element. This is a teaching example, not a live execution record.