Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
cb6f92a5
Commit
cb6f92a5
authored
8 years ago
by
Chris
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #13379 from edx/clrux/ac-577-login-page
AC-577 login form contrast and invalid aria cleanup
parents
6d8c0759
165302e0
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lms/static/sass/views/_login-register.scss
+1
-1
1 addition, 1 deletion
lms/static/sass/views/_login-register.scss
lms/templates/student_account/form_field.underscore
+5
-1
5 additions, 1 deletion
lms/templates/student_account/form_field.underscore
with
6 additions
and
2 deletions
lms/static/sass/views/_login-register.scss
+
1
−
1
View file @
cb6f92a5
...
...
@@ -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 **/
}
...
...
This diff is collapsed.
Click to expand it.
lms/templates/student_account/form_field.underscore
+
5
−
1
View file @
cb6f92a5
...
...
@@ -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<% } %>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment