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
b81d2ed1
Commit
b81d2ed1
authored
Feb 04, 2015
by
Davorin Šego
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6887 from edx/dsego/search_a11y
Search form accessibility
parents
b1dfac56
32989714
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
lms/templates/courseware/courseware.html
+10
-5
No files found.
lms/templates/courseware/courseware.html
View file @
b81d2ed1
...
...
@@ -208,11 +208,16 @@ ${fragment.foot_html()}
</header>
% if settings.FEATURES.get('ENABLE_COURSEWARE_SEARCH'):
<div
id=
"courseware-search-bar"
class=
"courseware-search-bar"
>
<form
role=
"search-form"
>
<input
type=
"text"
class=
"search-field"
/>
<button
type=
"submit"
class=
"search-button"
aria-label=
"${_('Search')}"
>
${_('search')}
<i
class=
"icon fa fa-search"
></i></button>
<button
type=
"button"
class=
"cancel-button"
aria-label=
"${_('Cancel')}"
><i
class=
"icon fa fa-remove"
></i></button>
<div
id=
"courseware-search-bar"
class=
"courseware-search-bar"
role=
"search"
aria-label=
"Course"
>
<form>
<label
for=
"course-search-input"
class=
"sr"
>
${_('Course Search')}
</label>
<input
id=
"course-search-input"
type=
"text"
class=
"search-field"
/>
<button
type=
"submit"
class=
"search-button"
>
${_('search')}
<i
class=
"icon fa fa-search"
aria-hidden=
"true"
></i>
</button>
<button
type=
"button"
class=
"cancel-button"
aria-label=
"${_('Clear search')}"
>
<i
class=
"icon fa fa-remove"
aria-hidden=
"true"
></i>
</button>
</form>
</div>
% endif
...
...
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