Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
searx-engine
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
gargantext
searx-engine
Commits
42d5e2c0
Unverified
Commit
42d5e2c0
authored
Nov 01, 2019
by
Noémi Ványi
Committed by
GitHub
Nov 01, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1719 from Monogramm/feature/accessibility
Add aria labels for oscar buttons
parents
4e029b02
e9d90d06
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
search.html
searx/templates/oscar/search.html
+2
-2
search_full.html
searx/templates/oscar/search_full.html
+2
-2
No files found.
searx/templates/oscar/search.html
View file @
42d5e2c0
...
...
@@ -3,9 +3,9 @@
<div
class=
"row"
>
<div
class=
"col-xs-12 col-md-8"
>
<div
class=
"input-group search-margin"
>
<input
type=
"search"
name=
"q"
class=
"form-control"
id=
"q"
placeholder=
"{{ _('Search for...') }}"
autocomplete=
"off"
value=
"{{ q }}"
>
<input
type=
"search"
name=
"q"
class=
"form-control"
id=
"q"
placeholder=
"{{ _('Search for...') }}"
a
ria-label=
"{{ _('Search for...') }}"
a
utocomplete=
"off"
value=
"{{ q }}"
>
<span
class=
"input-group-btn"
>
<button
type=
"submit"
class=
"btn btn-default"
><span
class=
"hide_if_nojs"
>
{{ icon('search') }}
</span><span
class=
"hidden active_if_nojs"
>
{{ _('Start search') }}
</span></button>
<button
type=
"submit"
class=
"btn btn-default"
aria-label=
"{{ _('Start search') }}"
><span
class=
"hide_if_nojs"
>
{{ icon('search') }}
</span><span
class=
"hidden active_if_nojs"
>
{{ _('Start search') }}
</span></button>
</span>
</div>
</div>
...
...
searx/templates/oscar/search_full.html
View file @
42d5e2c0
...
...
@@ -6,9 +6,9 @@
{% else %}
<div
class=
"input-group col-md-8 col-md-offset-2"
>
{% endif %}
<input
type=
"search"
name=
"q"
class=
"form-control input-lg autofocus"
id=
"q"
placeholder=
"{{ _('Search for...') }}"
autocomplete=
"off"
value=
"{{ q }}"
>
<input
type=
"search"
name=
"q"
class=
"form-control input-lg autofocus"
id=
"q"
placeholder=
"{{ _('Search for...') }}"
a
ria-label=
"{{ _('Search for...') }}"
a
utocomplete=
"off"
value=
"{{ q }}"
>
<span
class=
"input-group-btn"
>
<button
type=
"submit"
class=
"btn btn-default input-lg"
><span
class=
"hide_if_nojs"
>
{{ icon('search') }}
</span><span
class=
"hidden active_if_nojs"
>
{{ _('Start search') }}
</span></button>
<button
type=
"submit"
class=
"btn btn-default input-lg"
aria-label=
"{{ _('Start search') }}"
><span
class=
"hide_if_nojs"
>
{{ icon('search') }}
</span><span
class=
"hidden active_if_nojs"
>
{{ _('Start search') }}
</span></button>
</span>
</div>
<div
class=
"col-md-8 col-md-offset-2 advanced"
>
...
...
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