summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2017-02-09 18:33:46 +0100
committerDavid Lawrence <dkl@mozilla.com>2017-02-09 18:33:46 +0100
commitd0cc4c7d97a6a7e058de90a0b8269587758f085b (patch)
tree4a6640c26acbc85c6841dba0982b634be5a5ee6e /template/en/default/global
parent39ace7e59efe074108fa48fd82180be46dbec568 (diff)
downloadbugzilla-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/global')
-rw-r--r--template/en/default/global/userselect.html.tmpl2
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>