From d0cc4c7d97a6a7e058de90a0b8269587758f085b Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Thu, 9 Feb 2017 17:33:46 +0000 Subject: Bug 1280393 - [a11y] All inputs and selects need to be labeled properly --- template/en/default/global/userselect.html.tmpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'template/en/default/global') 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 %] -- cgit v1.2.3-24-g4f1b