diff options
author | David Lawrence <dkl@mozilla.com> | 2017-02-09 18:33:46 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2017-02-09 18:33:46 +0100 |
commit | d0cc4c7d97a6a7e058de90a0b8269587758f085b (patch) | |
tree | 4a6640c26acbc85c6841dba0982b634be5a5ee6e /template/en/default | |
parent | 39ace7e59efe074108fa48fd82180be46dbec568 (diff) | |
download | bugzilla-d0cc4c7d97a6a7e058de90a0b8269587758f085b.tar.gz bugzilla-d0cc4c7d97a6a7e058de90a0b8269587758f085b.tar.xz |
Bug 1280393 - [a11y] All inputs and selects need to be labeled properly
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/global/userselect.html.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/template/en/default/global/userselect.html.tmpl b/template/en/default/global/userselect.html.tmpl index 5577448fb..18e38e1f2 100644 --- a/template/en/default/global/userselect.html.tmpl +++ b/template/en/default/global/userselect.html.tmpl @@ -21,6 +21,7 @@ # field_title: optional, extra information to display as a tooltip # placeholder: optional, input only; placeholder attribute value # mandatory: optional; if true, the field cannot be empty. + # aria_labelledby: optiona; extra information to use for arai labels #%] [% THROW "onchange is not allowed" IF onchange %] @@ -34,6 +35,7 @@ [% IF multiple %] multiple="multiple" size="[% multiple FILTER html %]" [% END %] [% IF field_title %] title="[% field_title FILTER html %]" [% END %] [% IF mandatory %] required [% END %] + [% IF aria_labelledby %]aria-labelledby="[% aria_labelledby FILTER html %]"[% END %] > [% IF emptyok %] <option value=""></option> |