Commit a15d89c8 by cahrens

Fix a11y issues.

TNL-6440, TNL-6439
parent 9be31918
......@@ -581,13 +581,6 @@ class CourseWikiTest(UniqueCourseTest):
self.course_wiki_page.open_editor()
self.course_wiki_edit_page.wait_for_page()
def _check_for_accessibility_errors(self, page, custom_rules=None):
""" Run accessibility check with custom rules, if provided """
if custom_rules is not None:
page.a11y_audit.config.set_rules(custom_rules)
page.a11y_audit.check_for_accessibility_errors()
@attr(shard=1)
def test_edit_course_wiki(self):
"""
......@@ -610,7 +603,7 @@ class CourseWikiTest(UniqueCourseTest):
"""
Verify the basic accessibility of the wiki page as initially displayed.
"""
self._check_for_accessibility_errors(self.course_wiki_page)
self.course_wiki_page.a11y_audit.check_for_accessibility_errors()
@attr('a11y')
def test_edit_a11y(self):
......@@ -618,7 +611,7 @@ class CourseWikiTest(UniqueCourseTest):
Verify the basic accessibility of edit wiki page.
"""
self._open_editor()
self._check_for_accessibility_errors(self.course_wiki_edit_page)
self.course_wiki_edit_page.a11y_audit.check_for_accessibility_errors()
@attr('a11y')
def test_changes_a11y(self):
......@@ -628,7 +621,7 @@ class CourseWikiTest(UniqueCourseTest):
self.course_wiki_page.show_history()
history_page = CourseWikiHistoryPage(self.browser, self.course_id, self.course_info)
history_page.wait_for_page()
self._check_for_accessibility_errors(history_page)
history_page.a11y_audit.check_for_accessibility_errors()
@attr('a11y')
def test_children_a11y(self):
......@@ -638,13 +631,7 @@ class CourseWikiTest(UniqueCourseTest):
self.course_wiki_page.show_children()
children_page = CourseWikiChildrenPage(self.browser, self.course_id, self.course_info)
children_page.wait_for_page()
custom_rules = {
'ignore': [
'label', # TNL-6440
'data-table' # TNL-6439
]
}
self._check_for_accessibility_errors(children_page, custom_rules)
children_page.a11y_audit.check_for_accessibility_errors()
@attr(shard=1)
......
......@@ -59,7 +59,6 @@ table {
a {
&:hover, &:focus {
color: $pink;
text-decoration: none !important;
}
}
......
......@@ -8,6 +8,11 @@
float: right;
}
.form-search .input-prepend>label {
display: inline-block;
vertical-align: bottom;
}
@include clearfix();
.breadcrumbs-header {
......@@ -746,17 +751,9 @@
}
.filter-clear {
margin-right: ($baseline/2);
margin-left: ($baseline/2);
margin-top: ($baseline/2);
font-size: .9em;
a {
color: $uxpl-gray-base;
&:hover, &:focus {
color: #777;
}
}
}
.table.table-striped {
......@@ -773,6 +770,12 @@
margin-left: 3px;
}
a {
&:hover, &:focus {
font-weight: bold;
}
}
tr:nth-child(even) {
background: $gray-l6;
}
......
......@@ -47,7 +47,7 @@
# Third-party:
git+https://github.com/cyberdelia/django-pipeline.git@1.5.3#egg=django-pipeline==1.5.3
git+https://github.com/edx/django-wiki.git@v0.0.9#egg=django-wiki==0.0.9
git+https://github.com/edx/django-wiki.git@v0.0.10#egg=django-wiki==0.0.10
git+https://github.com/edx/django-openid-auth.git@0.8#egg=django-openid-auth==0.8
git+https://github.com/edx/MongoDBProxy.git@25b99097615bda06bd7cdfe5669ed80dc2a7fed0#egg=MongoDBProxy==0.1.0
git+https://github.com/edx/nltk.git@2.0.6#egg=nltk==2.0.6
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment