From: Patrick H. Lauke Date: Tue, 9 Dec 2014 00:44:31 +0000 (+0000) Subject: Tie help block to input with aria-describedby X-Git-Tag: v3.3.2~5^2~103^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4529a9e7b7fd7a12f4897acef8eed07a03b43099;p=thirdparty%2Fbootstrap.git Tie help block to input with aria-describedby --- diff --git a/docs/_jade/customizer-variables.jade b/docs/_jade/customizer-variables.jade index bd0df1d139..fbbddcba42 100644 --- a/docs/_jade/customizer-variables.jade +++ b/docs/_jade/customizer-variables.jade @@ -13,11 +13,13 @@ each section in sections div.clearfix div.col-xs-4 label(for="input-" + variable.name)= variable.name + - var helpId = "help-block-" + variable.name input.form-control( id="input-" + variable.name type="text" + aria-describedby=variable.docstring ? helpId : undefined value=variable.defaultValue data-var=variable.name) if variable.docstring - p.help-block!= variable.docstring.html + p.help-block(id=helpId)!= variable.docstring.html // NOTE: DO NOT EDIT THE PRECEDING SECTION DIRECTLY! It is autogenerated via the `build-customizer-html` Grunt task using the customizer-variables.jade template.