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
e5fd2888
Commit
e5fd2888
authored
Nov 05, 2015
by
Mark Sadecki
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10514 from edx/cptvitamin/AC-222
adds an accessible label to the search input and the search button
parents
b5718289
16b70a45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
lms/templates/index.html
+4
-2
No files found.
lms/templates/index.html
View file @
e5fd2888
...
@@ -39,9 +39,11 @@ from microsite_configuration import microsite
...
@@ -39,9 +39,11 @@ from microsite_configuration import microsite
% if settings.FEATURES.get('ENABLE_COURSE_DISCOVERY'):
% if settings.FEATURES.get('ENABLE_COURSE_DISCOVERY'):
<div
class=
"course-search"
>
<div
class=
"course-search"
>
<form
method=
"get"
action=
"/courses"
>
<form
method=
"get"
action=
"/courses"
>
<input
class=
"search-input"
name=
"search_query"
type=
"text"
placeholder=
"${_("
Search
for
a
course
")}"
></input>
<label><span
class=
"sr"
>
${_("Search for a course")}
</span>
<input
class=
"search-input"
name=
"search_query"
type=
"text"
placeholder=
"${_("
Search
for
a
course
")}"
></input>
</label>
<button
class=
"search-button"
type=
"submit"
>
<button
class=
"search-button"
type=
"submit"
>
<i
class=
"icon fa fa-search"
aria-hidden=
"true"
></i>
<i
class=
"icon fa fa-search"
aria-hidden=
"true"
></i>
<span
class=
"sr"
>
${_("Search")}
</span>
</button>
</button>
</form>
</form>
</div>
</div>
...
...
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