diff --git a/lms/static/sass/views/_login-register.scss b/lms/static/sass/views/_login-register.scss index 09a6bc94de557f5dfb7c1cdddf6596a3b7555486..8584ee9b4882be7c5e02f85eec0418e74546514f 100644 --- a/lms/static/sass/views/_login-register.scss +++ b/lms/static/sass/views/_login-register.scss @@ -335,7 +335,7 @@ @extend %t-copy-sub2; display: block; margin: 0 0 ($baseline/2) 0; - color: $m-gray-l1; + color: $base-font-color; } /** FROM _accounts.scss - end **/ } diff --git a/lms/templates/student_account/form_field.underscore b/lms/templates/student_account/form_field.underscore index 37061ef689c08f7b16246d9fb1eb254cc67d43fa..ab55a1eb1c9a18a86ec85668bb4cfa7a3d3ac0dc 100644 --- a/lms/templates/student_account/form_field.underscore +++ b/lms/templates/student_account/form_field.underscore @@ -10,7 +10,9 @@ <select id="<%= form %>-<%= name %>" name="<%= name %>" class="input-inline" + <% if ( instructions ) { %> aria-describedby="<%= form %>-<%= name %>-desc" + <% } %> <% if ( typeof errorMessages !== 'undefined' ) { _.each(errorMessages, function( msg, type ) {%> data-errormsg-<%= type %>="<%= msg %>" @@ -27,7 +29,9 @@ type="<%= type %>" name="<%= name %>" class="input-block" + <% if ( instructions ) { %> aria-describedby="<%= form %>-<%= name %>-desc" + <% } %> <% if ( restrictions.min_length ) { %> minlength="<%= restrictions.min_length %>"<% } %> <% if ( restrictions.max_length ) { %> maxlength="<%= restrictions.max_length %>"<% } %> <% if ( typeof errorMessages !== 'undefined' ) { @@ -42,7 +46,7 @@ type="<%= type %>" name="<%= name %>" class="input-block <% if ( type === 'checkbox' ) { %>checkbox<% } %>" - <% if ( type !== 'password' ) { %> aria-describedby="<%= form %>-<%= name %>-desc" <% } %> + <% if ( instructions ) { %> 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<% } %>