WordPress.org

Make WordPress Core

Opened 5 days ago

Closed 5 days ago

#47875 closed defect (bug) (duplicate)

HTML5 validation is not working on "Leave a comment" form

Reported by: ramizmanked 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)

#1 @SergeyBiryukov
5 days ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi @ramizmanked, welcome to WordPress Trac! Thanks for the ticket.

The comment form has the novalidate attribute 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.

Note: See TracTickets for help on using tickets.