EN, Change language
English
UK-078

Forms do not use HTML5 validation: fields carry no required attribute.

GOV.UK Design System · Every UK public sector website

Why it matters to users

Browser validation messages differ between browsers, cannot be made clearer and are often missed by screen reader users.

How to fix it

Remove the required attribute from fields, add novalidate to the <form> element, and validate on the server using the Error summary and Error message components. Then scan again.

How we measure it

Question fields with the required attribute, in a form without novalidate.

Its official source

Related rules

No HTML5 form validation · UK-078 | xfix