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
9a1b3555
Commit
9a1b3555
authored
Sep 18, 2013
by
Julia Hansbrough
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1028 from edx/accessibility_duplicates
Fixed duplicate ID attributes in registration & login
parents
b6cde36d
f31cb806
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
lms/templates/forgot_password_modal.html
+2
-2
lms/templates/login.html
+1
-1
No files found.
lms/templates/forgot_password_modal.html
View file @
9a1b3555
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<
%!
from
django
.
core
.
urlresolvers
import
reverse
%
>
<section
id=
"forgot-password-modal"
class=
"modal forgot-password-modal"
>
<section
id=
"forgot-password-modal"
class=
"modal forgot-password-modal"
role=
"dialog"
aria-label=
${_("Password
Reset
")}
>
<div
class=
"inner-wrapper"
>
<div
id=
"password-reset"
>
<header>
...
...
@@ -17,7 +17,7 @@
<legend
class=
"is-hidden"
>
${_("Required Information")}
</legend>
<ol
class=
"list-input"
>
<li
class=
"field required text"
id=
"field-email"
>
<li
class=
"field required text"
id=
"f
orgot-password-modal-f
ield-email"
>
<label
for=
"pwd_reset_email"
>
${_("Your E-mail Address")}
</label>
<input
class=
""
id=
"pwd_reset_email"
type=
"email"
name=
"email"
value=
""
placeholder=
"example: username@domain.com"
aria-describedby=
"pwd_reset_email-tip"
/>
<span
class=
"tip tip-input"
id=
"pwd_reset_email-tip"
>
${_("This is the e-mail address you used to register with {platform}").format(platform=settings.PLATFORM_NAME)}
</span>
...
...
lms/templates/login.html
View file @
9a1b3555
...
...
@@ -127,7 +127,7 @@
<label
for=
"password"
>
${_('Password')}
</label>
<input
id=
"password"
type=
"password"
name=
"password"
value=
""
required
aria-required=
"true"
/>
<span
class=
"tip tip-input"
>
<a
href=
"#forgot-password-modal"
rel=
"leanModal"
class=
"pwd-reset action action-forgotpw"
>
${_('Forgot password?')}
</a>
<a
href=
"#forgot-password-modal"
rel=
"leanModal"
class=
"pwd-reset action action-forgotpw"
role=
"button"
aria-haspopup=
"true"
>
${_('Forgot password?')}
</a>
</span>
</li>
</ol>
...
...
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