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
237b955d
Commit
237b955d
authored
Jul 18, 2016
by
Chris Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AC-526 fixing invalid-aria-attr-value failures and ignores in the platform
parent
9f3b8ddf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
common/test/acceptance/tests/lms/test_lms_instructor_dashboard.py
+2
-4
lms/templates/instructor/instructor_dashboard_2/certificate-invalidation.underscore
+2
-2
lms/templates/instructor/instructor_dashboard_2/certificate-white-list-editor.underscore
+2
-2
No files found.
common/test/acceptance/tests/lms/test_lms_instructor_dashboard.py
View file @
237b955d
...
...
@@ -1050,10 +1050,9 @@ class CertificatesTest(BaseInstructorDashboardTest):
])
self
.
certificates_section
.
a11y_audit
.
config
.
set_rules
({
"ignore"
:
[
'aria-valid-attr-value'
,
# TODO: AC-491
'checkboxgroup'
,
# TODO: AC-491
'duplicate-id'
,
# TODO: AC-
491
'label'
,
# TODO: AC-
491
'duplicate-id'
,
# TODO: AC-
523
'label'
,
# TODO: AC-
524
'radiogroup'
,
# TODO: AC-491
]
})
...
...
@@ -1268,7 +1267,6 @@ class CertificateInvalidationTest(BaseInstructorDashboardTest):
])
self
.
certificates_section
.
a11y_audit
.
config
.
set_rules
({
"ignore"
:
[
'aria-valid-attr-value'
,
# TODO: AC-491
'checkboxgroup'
,
# TODO: AC-491
'duplicate-id'
,
# TODO: AC-491
'label'
,
# TODO: AC-491
...
...
lms/templates/instructor/instructor_dashboard_2/certificate-invalidation.underscore
View file @
237b955d
...
...
@@ -3,8 +3,8 @@
</p>
<div class="add-certificate-invalidation">
<input class='student-username-or-email' id="certificate-invalidation-user" type="text" placeholder="<%- gettext('Username or email address') %>"
aria-describedby='student-user-name-or-email-tip'
>
<textarea class='notes-field' id="certificate-invalidation-notes" rows="10" placeholder="<%- gettext('Add notes about this learner') %>"
aria-describedby='notes-field-tip'
></textarea>
<input class='student-username-or-email' id="certificate-invalidation-user" type="text" placeholder="<%- gettext('Username or email address') %>">
<textarea class='notes-field' id="certificate-invalidation-notes" rows="10" placeholder="<%- gettext('Add notes about this learner') %>"></textarea>
<br/>
<button type="button" class="btn-blue" id="invalidate-certificate"><%- gettext('Invalidate Certificate') %></button>
</div>
...
...
lms/templates/instructor/instructor_dashboard_2/certificate-white-list-editor.underscore
View file @
237b955d
...
...
@@ -2,8 +2,8 @@
<p class="under-heading"> <%- gettext("Enter the username or email address of each learner that you want to add as an exception.") %></p>
<div class='certificate-exception-inputs'>
<div class="">
<input class='student-username-or-email' id="certificate-exception" type="text" placeholder="Student email or username"
aria-describedby='student-user-name-or-email-tip'
>
<textarea class='notes-field' id="notes" rows="10" placeholder="Free text notes"
aria-describedby='notes-field-tip'
></textarea>
<input class='student-username-or-email' id="certificate-exception" type="text" placeholder="Student email or username">
<textarea class='notes-field' id="notes" rows="10" placeholder="Free text notes"></textarea>
</div>
<div>
<button type="button" class="btn-blue" id="add-exception" ><%- gettext("Add to Exception List") %> </button>
...
...
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