Opened 7 years ago
Closed 7 years ago
#47875 closed defect (bug) (duplicate)
HTML5 validation is not working on "Leave a comment" form
| Reported by: | ramizmanked | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Comments | Version: | 5.2.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | accessibility |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.