diff options
author | Sunil Joshi <joshi_sunil@in.com> | 2014-03-23 01:56:29 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2014-03-23 01:56:29 +0100 |
commit | 165689a71928008f2d12f9cd8228497594899c2f (patch) | |
tree | d3a3c23bc30959290b014a86c1c50c60c7a9073c /template/en/default/bug | |
parent | Bug 276560: Use webbadge icons for alternate format links on buglist (diff) | |
download | bugzilla-165689a71928008f2d12f9cd8228497594899c2f.tar.gz bugzilla-165689a71928008f2d12f9cd8228497594899c2f.tar.bz2 bugzilla-165689a71928008f2d12f9cd8228497594899c2f.zip |
Bug 962812: Use the "required" attribute where appropriate
r=LpSolit a=justdave
Diffstat (limited to 'template/en/default/bug')
-rw-r--r-- | template/en/default/bug/field.html.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
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 %] <input name="[% field.name FILTER html %]" size="[% size FILTER none %]" id="[% field.name FILTER html %]" value="[% value FILTER html %]" - [% ' aria-required="true"' IF field.is_mandatory %] + [% ' aria-required="true" required' IF field.is_mandatory %] onchange="updateCalendarFromField(this)"> <button type="button" class="calendar_button" id="button_calendar_[% field.name FILTER html %]" @@ -66,7 +66,7 @@ <span id="[% field.name FILTER html %]_input_area"> <input name="[% field.name FILTER html %]" id="[% field.name FILTER html %]" value="[% value FILTER html %]" size="7" - [% ' aria-required="true"' IF field.is_mandatory %]> + [% ' aria-required="true" required' IF field.is_mandatory %]> </span> @@ -94,7 +94,7 @@ [% SET field_size = field.legal_values.size %] [% END %] size="[% field_size FILTER html %]" multiple="multiple" - [% ' aria-required="true"' IF field.is_mandatory %] + [% ' aria-required="true" required' IF field.is_mandatory %] [% END %] > [% IF allow_dont_change %] |