Opened 6 years ago
Closed 6 years ago
#47875 closed defect (bug) (duplicate)
HTML5 validation is not working on "Leave a comment" form
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 5.2.2 |
| Component: | Comments | Keywords: | |
| Focuses: | accessibility | Cc: |
Description
HTML5 validation (i.e. field marked as required) is not working on Comment Form.
Change History (1)
Note: See
TracTickets for help on using
tickets.
Hi @ramizmanked, welcome to WordPress Trac! Thanks for the ticket.
The comment form has the
novalidateattribute at the moment, which prevents client-side validation from being performed due to concerns about browsers implementing validation in very different ways, per discussion in #15080.We're now re-evaluating that decision in #47595, let's continue the discussion there.