Merge pull request #13379 from edx/clrux/ac-577-login-page
AC-577 login form contrast and invalid aria cleanup
This commit is contained in:
@@ -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 **/
|
||||
}
|
||||
|
||||
@@ -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<% } %>
|
||||
|
||||
Reference in New Issue
Block a user