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
237c20cb
Commit
237c20cb
authored
Oct 26, 2016
by
Christina Roberts
Committed by
GitHub
Oct 26, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13833 from edx/christina/remove-ignores
Cleanup a11y ignores/tickets
parents
49d46edd
f399508d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
37 additions
and
69 deletions
+37
-69
common/lib/capa/capa/tests/test_shuffle.py
+4
-1
common/test/acceptance/tests/discussion/test_discussion.py
+29
-14
common/test/acceptance/tests/lms/test_learner_profile.py
+0
-21
common/test/acceptance/tests/lms/test_lms_dashboard.py
+0
-6
common/test/acceptance/tests/lms/test_lms_instructor_dashboard.py
+1
-14
common/test/acceptance/tests/studio/test_studio_library.py
+1
-4
common/test/acceptance/tests/studio/test_studio_settings.py
+2
-5
common/test/acceptance/tests/studio/test_studio_textbooks.py
+0
-4
No files found.
common/lib/capa/capa/tests/test_shuffle.py
View file @
237c20cb
...
...
@@ -194,7 +194,10 @@ class CapaShuffleTest(unittest.TestCase):
"""
)
problem
=
new_loncapa_problem
(
xml_str
,
seed
=
0
)
the_html
=
problem
.
get_html
()
self
.
assertRegexpMatches
(
the_html
,
r"<div>.*\[.*'Alpha'.*'Beta'.*'B'.*'A'.*'C'.*'D'.*'Psi'.*'Omega'.*\].*</div>"
)
self
.
assertRegexpMatches
(
the_html
,
r"<div>.*\[.*'Alpha'.*'Beta'.*'B'.*'A'.*'C'.*'D'.*'Psi'.*'Omega'.*\].*</div>"
)
def
test_shuffle_fixed_both_ends_thin
(
self
):
xml_str
=
textwrap
.
dedent
(
"""
...
...
common/test/acceptance/tests/discussion/test_discussion.py
View file @
237c20cb
This diff is collapsed.
Click to expand it.
common/test/acceptance/tests/lms/test_learner_profile.py
View file @
237c20cb
...
...
@@ -775,13 +775,6 @@ class LearnerProfileA11yTest(LearnerProfileTestMixin, WebAppTest):
"""
username
,
_
=
self
.
log_in_as_unique_user
()
profile_page
=
self
.
visit_profile_page
(
username
)
profile_page
.
a11y_audit
.
config
.
set_rules
({
"ignore"
:
[
'link-href'
,
# TODO: AC-231
],
})
profile_page
.
a11y_audit
.
check_for_accessibility_errors
()
profile_page
.
make_field_editable
(
'language_proficiencies'
)
...
...
@@ -802,13 +795,6 @@ class LearnerProfileA11yTest(LearnerProfileTestMixin, WebAppTest):
different_username
,
_
=
self
.
initialize_different_user
(
privacy
=
self
.
PRIVACY_PUBLIC
)
self
.
log_in_as_unique_user
()
profile_page
=
self
.
visit_profile_page
(
different_username
)
profile_page
.
a11y_audit
.
config
.
set_rules
({
"ignore"
:
[
'link-href'
,
# TODO: AC-231
],
})
profile_page
.
a11y_audit
.
check_for_accessibility_errors
()
def
test_badges_accessibility
(
self
):
...
...
@@ -818,13 +804,6 @@ class LearnerProfileA11yTest(LearnerProfileTestMixin, WebAppTest):
username
=
'testcert'
AutoAuthPage
(
self
.
browser
,
username
=
username
)
.
visit
()
profile_page
=
self
.
visit_profile_page
(
username
)
profile_page
.
a11y_audit
.
config
.
set_rules
({
"ignore"
:
[
'link-href'
,
# TODO: AC-231
'color-contrast'
,
# TODO: AC-231
],
})
profile_page
.
display_accomplishments
()
profile_page
.
a11y_audit
.
check_for_accessibility_errors
()
profile_page
.
badges
[
0
]
.
display_modal
()
...
...
common/test/acceptance/tests/lms/test_lms_dashboard.py
View file @
237c20cb
...
...
@@ -318,10 +318,4 @@ class LmsDashboardA11yTest(BaseLmsDashboardTestMultiple):
"""
course_listings
=
self
.
dashboard_page
.
get_courses
()
self
.
assertEqual
(
len
(
course_listings
),
3
)
self
.
dashboard_page
.
a11y_audit
.
config
.
set_rules
({
'ignore'
:
[
'link-href'
,
# AC-530
'aria-required-children'
,
# AC-534
]
})
self
.
dashboard_page
.
a11y_audit
.
check_for_accessibility_errors
()
common/test/acceptance/tests/lms/test_lms_instructor_dashboard.py
View file @
237c20cb
...
...
@@ -90,7 +90,7 @@ class BulkEmailTest(BaseInstructorDashboardTest):
])
self
.
send_email_page
.
a11y_audit
.
config
.
set_rules
({
"ignore"
:
[
'button-name'
,
# TODO:
AC-491
'button-name'
,
# TODO:
TNL-5830
]
})
self
.
send_email_page
.
a11y_audit
.
check_for_accessibility_errors
()
...
...
@@ -993,13 +993,6 @@ class CertificatesTest(BaseInstructorDashboardTest):
self
.
certificates_section
.
a11y_audit
.
config
.
set_scope
([
'.certificates-wrapper'
])
self
.
certificates_section
.
a11y_audit
.
config
.
set_rules
({
"ignore"
:
[
'checkboxgroup'
,
# TODO: AC-491
'duplicate-id'
,
# TODO: AC-491
'radiogroup'
,
# TODO: AC-491
]
})
self
.
certificates_section
.
a11y_audit
.
check_for_accessibility_errors
()
...
...
@@ -1209,10 +1202,4 @@ class CertificateInvalidationTest(BaseInstructorDashboardTest):
self
.
certificates_section
.
a11y_audit
.
config
.
set_scope
([
'.certificates-wrapper'
])
self
.
certificates_section
.
a11y_audit
.
config
.
set_rules
({
"ignore"
:
[
'duplicate-id'
,
# TODO: AC-491
'radiogroup'
,
# TODO: AC-491
]
})
self
.
certificates_section
.
a11y_audit
.
check_for_accessibility_errors
()
common/test/acceptance/tests/studio/test_studio_library.py
View file @
237c20cb
...
...
@@ -652,12 +652,9 @@ class StudioLibraryA11yTest(StudioLibraryTest):
lib_page
.
visit
()
lib_page
.
wait_until_ready
()
# There are several existing color contrast errors on this page,
# we will ignore this error in the test until we fix them.
lib_page
.
a11y_audit
.
config
.
set_rules
({
"ignore"
:
[
'icon-aria-hidden'
,
# TODO: AC-229
'link-href'
,
# TODO: AC-564
'link-href'
,
# TODO: AC-590
],
})
...
...
common/test/acceptance/tests/studio/test_studio_settings.py
View file @
237c20cb
...
...
@@ -500,12 +500,9 @@ class StudioSettingsA11yTest(StudioCourseTest):
self
.
settings_page
.
visit
()
self
.
settings_page
.
wait_for_page
()
# There are several existing color contrast errors on this page,
# we will ignore this error in the test until we fix them.
self
.
settings_page
.
a11y_audit
.
config
.
set_rules
({
"ignore"
:
[
'link-href'
,
# TODO: AC-557
'icon-aria-hidden'
,
# TODO: AC-229
'link-href'
,
# TODO: AC-590
],
})
...
...
@@ -515,7 +512,7 @@ class StudioSettingsA11yTest(StudioCourseTest):
# on this page. CodeMirror generates markup that does
# not pass our accessibility testing rules.
self
.
settings_page
.
a11y_audit
.
config
.
set_scope
(
exclude
=
[
'.CodeMirror textarea'
]
exclude
=
[
'.CodeMirror textarea'
]
# TODO: TNL-5831
)
self
.
settings_page
.
a11y_audit
.
check_for_accessibility_errors
()
...
...
common/test/acceptance/tests/studio/test_studio_textbooks.py
View file @
237c20cb
...
...
@@ -61,7 +61,6 @@ class TextbooksTest(StudioCourseTest):
self
.
textbook_view_page
.
a11y_audit
.
config
.
set_rules
({
'ignore'
:
[
'skip-link'
,
# AC-501
'section'
# AC-503
],
})
...
...
@@ -85,9 +84,6 @@ class TextbooksTest(StudioCourseTest):
self
.
textbook_view_page
.
a11y_audit
.
config
.
set_rules
({
'ignore'
:
[
'color-contrast'
,
# will always fail because pdf.js converts pdf to divs with transparent text
'html-lang'
,
# AC-504
'meta-viewport'
,
# AC-505
'skip-link'
,
# AC-506
],
})
self
.
textbook_view_page
.
a11y_audit
.
check_for_accessibility_errors
()
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