diff --git a/lms/templates/student_account/form_field.underscore b/lms/templates/student_account/form_field.underscore index d56431191f..943b070940 100644 --- a/lms/templates/student_account/form_field.underscore +++ b/lms/templates/student_account/form_field.underscore @@ -40,7 +40,7 @@ type="<%= type %>" name="<%= name %>" class="input-block <% if ( type === 'checkbox' ) { %>checkbox<% } %>" - aria-describedby="<%= form %>-<%= name %>-desc" + <% if ( type !== 'password' ) { %> aria-describedby="<%= form %>-<%= name %>-desc" <% } %> <% if ( restrictions.min_length ) { %> minlength="<%= restrictions.min_length %>"<% } %> <% if ( restrictions.max_length ) { %> maxlength="<%= restrictions.max_length %>"<% } %> <% if ( required ) { %> aria-required="true" required<% } %> @@ -52,7 +52,7 @@ <% if ( placeholder ) { %> placeholder="<%= placeholder %>"<% } %> value="<%- defaultValue %>" /> - <% if ( instructions ) { %> <%= instructions %><% } %> + <% if ( instructions ) { %> <%= instructions %><% } %> <% } %> <% if ( type === 'checkbox' ) { %>