From 165689a71928008f2d12f9cd8228497594899c2f Mon Sep 17 00:00:00 2001 From: Sunil Joshi Date: Sun, 23 Mar 2014 01:56:29 +0100 Subject: Bug 962812: Use the "required" attribute where appropriate r=LpSolit a=justdave --- template/en/default/bug/field.html.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'template/en/default/bug') diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl index b3b92e198..88200fdfa 100644 --- a/template/en/default/bug/field.html.tmpl +++ b/template/en/default/bug/field.html.tmpl @@ -42,13 +42,13 @@ value="[% value FILTER html %]" size="40" maxlength="[% constants.MAX_FREETEXT_LENGTH FILTER none %]" [% ' pattern="\d+"' IF field.type == constants.FIELD_TYPE_INTEGER %] - [% ' aria-required="true"' IF field.is_mandatory %]> + [% ' aria-required="true" required' IF field.is_mandatory %]> [% CASE [constants.FIELD_TYPE_DATETIME, constants.FIELD_TYPE_DATE] %] [% size = (field.type == constants.FIELD_TYPE_DATE) ? 10 : 20 %]