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
e3035a8f
Commit
e3035a8f
authored
Sep 15, 2015
by
Chris Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LMS: a11y contrast fixes for find course page
parent
4f6a1fe7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
5 deletions
+16
-5
lms/static/js/fixtures/discovery.html
+2
-1
lms/static/sass/multicourse/_courses.scss
+11
-2
lms/templates/courseware/courses.html
+2
-1
lms/templates/discovery/facet_option.underscore
+1
-1
No files found.
lms/static/js/fixtures/discovery.html
View file @
e3035a8f
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
<div
id=
"discovery-form"
class=
"wrapper-search-context"
>
<div
id=
"discovery-form"
class=
"wrapper-search-context"
>
<div
id=
"discovery-message"
class=
"search-status-label"
></div>
<div
id=
"discovery-message"
class=
"search-status-label"
></div>
<form
class=
"wrapper-search-input"
>
<form
class=
"wrapper-search-input"
>
<input
class=
"discovery-input"
placeholder=
"Search for a course"
type=
"text"
/>
<label
for=
"discovery-input"
class=
"sr"
>
Search for a course
</label>
<input
id=
"discovery-input"
class=
"discovery-input"
placeholder=
"Search for a course"
type=
"text"
/>
<button
type=
"submit"
class=
"button postfix discovery-submit"
aria-label=
"Search"
>
<button
type=
"submit"
class=
"button postfix discovery-submit"
aria-label=
"Search"
>
<i
class=
"icon fa fa-search"
aria-hidden=
"true"
></i>
<i
class=
"icon fa fa-search"
aria-hidden=
"true"
></i>
<div
aria-live=
"polite"
aria-relevant=
"all"
>
<div
aria-live=
"polite"
aria-relevant=
"all"
>
...
...
lms/static/sass/multicourse/_courses.scss
View file @
e3035a8f
...
@@ -376,9 +376,14 @@ $facet-background-color: #007db8;
...
@@ -376,9 +376,14 @@ $facet-background-color: #007db8;
@extend
%t-strong
;
@extend
%t-strong
;
margin
:
(
$baseline
/
2
);
margin
:
(
$baseline
/
2
);
width
:
auto
;
width
:
auto
;
color
:
$
m-blue-d5
;
color
:
$
blue-d1
;
// WCAG 2.0 AA requirements
text-align
:
center
;
text-align
:
center
;
text-transform
:
uppercase
;
text-transform
:
uppercase
;
&
:hover
,
&
:focus
{
background
:
$gray-l4
;
}
}
}
.flt-right
{
.flt-right
{
...
@@ -509,7 +514,11 @@ $facet-background-color: #007db8;
...
@@ -509,7 +514,11 @@ $facet-background-color: #007db8;
color
:
$facet-text-color
;
color
:
$facet-text-color
;
.count
{
.count
{
color
:
$gray-l4
;
color
:
$gray
;
.count-number
{
display
:
none
;
}
}
}
.count
:before
{
.count
:before
{
...
...
lms/templates/courseware/courses.html
View file @
e3035a8f
...
@@ -35,7 +35,8 @@
...
@@ -35,7 +35,8 @@
<div
id=
"discovery-form"
role=
"search"
aria-label=
"course"
class=
"wrapper-search-context"
>
<div
id=
"discovery-form"
role=
"search"
aria-label=
"course"
class=
"wrapper-search-context"
>
<div
id=
"discovery-message"
class=
"search-status-label"
></div>
<div
id=
"discovery-message"
class=
"search-status-label"
></div>
<form
class=
"wrapper-search-input"
>
<form
class=
"wrapper-search-input"
>
<input
class=
"discovery-input"
placeholder=
"${_('Search for a course')}"
type=
"text"
/>
<label
for=
"discovery-input"
class=
"sr"
>
${_('Search for a course')}
</label>
<input
id=
"discovery-input"
class=
"discovery-input"
placeholder=
"${_('Search for a course')}"
type=
"text"
/>
<button
type=
"submit"
class=
"button postfix discovery-submit"
aria-label=
"${_('Search')}"
>
<button
type=
"submit"
class=
"button postfix discovery-submit"
aria-label=
"${_('Search')}"
>
<i
class=
"icon fa fa-search"
aria-hidden=
"true"
></i>
<i
class=
"icon fa fa-search"
aria-hidden=
"true"
></i>
<div
aria-live=
"polite"
aria-relevant=
"all"
>
<div
aria-live=
"polite"
aria-relevant=
"all"
>
...
...
lms/templates/discovery/facet_option.underscore
View file @
e3035a8f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<button data-facet="<%= facet %>" data-value="<%= term %>" data-text="<%= name %>" class="facet-option discovery-button <%= selected ? 'selected' : '' %>">
<button data-facet="<%= facet %>" data-value="<%= term %>" data-text="<%= name %>" class="facet-option discovery-button <%= selected ? 'selected' : '' %>">
<%= name %>
<%= name %>
<span class="count">
<span class="count">
<
%= count %
>
<
span class="count-number"><%= count %></span
>
</span>
</span>
</button>
</button>
</li>
</li>
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