Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
165302e0
Commit
165302e0
authored
Sep 01, 2016
by
Chris Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AC-577 login page a11y fixes
parent
33ae93ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
lms/static/sass/views/_login-register.scss
+1
-1
lms/templates/student_account/form_field.underscore
+5
-1
No files found.
lms/static/sass/views/_login-register.scss
View file @
165302e0
...
@@ -335,7 +335,7 @@
...
@@ -335,7 +335,7 @@
@extend
%t-copy-sub2
;
@extend
%t-copy-sub2
;
display
:
block
;
display
:
block
;
margin
:
0
0
(
$baseline
/
2
)
0
;
margin
:
0
0
(
$baseline
/
2
)
0
;
color
:
$
m-gray-l1
;
color
:
$
base-font-color
;
}
}
/** FROM _accounts.scss - end **/
/** FROM _accounts.scss - end **/
}
}
...
...
lms/templates/student_account/form_field.underscore
View file @
165302e0
...
@@ -10,7 +10,9 @@
...
@@ -10,7 +10,9 @@
<select id="<%= form %>-<%= name %>"
<select id="<%= form %>-<%= name %>"
name="<%= name %>"
name="<%= name %>"
class="input-inline"
class="input-inline"
<% if ( instructions ) { %>
aria-describedby="<%= form %>-<%= name %>-desc"
aria-describedby="<%= form %>-<%= name %>-desc"
<% } %>
<% if ( typeof errorMessages !== 'undefined' ) {
<% if ( typeof errorMessages !== 'undefined' ) {
_.each(errorMessages, function( msg, type ) {%>
_.each(errorMessages, function( msg, type ) {%>
data-errormsg-<%= type %>="<%= msg %>"
data-errormsg-<%= type %>="<%= msg %>"
...
@@ -27,7 +29,9 @@
...
@@ -27,7 +29,9 @@
type="<%= type %>"
type="<%= type %>"
name="<%= name %>"
name="<%= name %>"
class="input-block"
class="input-block"
<% if ( instructions ) { %>
aria-describedby="<%= form %>-<%= name %>-desc"
aria-describedby="<%= form %>-<%= name %>-desc"
<% } %>
<% if ( restrictions.min_length ) { %> minlength="<%= restrictions.min_length %>"<% } %>
<% if ( restrictions.min_length ) { %> minlength="<%= restrictions.min_length %>"<% } %>
<% if ( restrictions.max_length ) { %> maxlength="<%= restrictions.max_length %>"<% } %>
<% if ( restrictions.max_length ) { %> maxlength="<%= restrictions.max_length %>"<% } %>
<% if ( typeof errorMessages !== 'undefined' ) {
<% if ( typeof errorMessages !== 'undefined' ) {
...
@@ -42,7 +46,7 @@
...
@@ -42,7 +46,7 @@
type="<%= type %>"
type="<%= type %>"
name="<%= name %>"
name="<%= name %>"
class="input-block <% if ( type === 'checkbox' ) { %>checkbox<% } %>"
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.min_length ) { %> minlength="<%= restrictions.min_length %>"<% } %>
<% if ( restrictions.max_length ) { %> maxlength="<%= restrictions.max_length %>"<% } %>
<% if ( restrictions.max_length ) { %> maxlength="<%= restrictions.max_length %>"<% } %>
<% if ( required ) { %> aria-required="true" required<% } %>
<% if ( required ) { %> aria-required="true" required<% } %>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment