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
a15d89c8
Commit
a15d89c8
authored
Feb 07, 2017
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a11y issues.
TNL-6440, TNL-6439
parent
9be31918
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
28 deletions
+17
-28
common/test/acceptance/tests/lms/test_lms.py
+4
-17
lms/static/sass/course/base/_base.scss
+0
-1
lms/static/sass/course/wiki/_wiki.scss
+12
-9
requirements/edx/github.txt
+1
-1
No files found.
common/test/acceptance/tests/lms/test_lms.py
View file @
a15d89c8
...
...
@@ -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
)
...
...
lms/static/sass/course/base/_base.scss
View file @
a15d89c8
...
...
@@ -59,7 +59,6 @@ table {
a
{
&
:hover
,
&
:focus
{
color
:
$pink
;
text-decoration
:
none
!
important
;
}
}
...
...
lms/static/sass/course/wiki/_wiki.scss
View file @
a15d89c8
...
...
@@ -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-
righ
t
:
(
$baseline
/
2
);
margin-
lef
t
:
(
$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
;
}
...
...
requirements/edx/github.txt
View file @
a15d89c8
...
...
@@ -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
...
...
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