Skip to content

Commit

Permalink
[wcag] Add aria label to activity search and remove default None value
Browse files Browse the repository at this point in the history
  • Loading branch information
jrdh committed Sep 10, 2020
1 parent 3d57fe2 commit 905e35a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ckan/templates/user/snippets/followee_dropdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
<div class="popover-header">
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-search"></i></span>
<input type="text" class="form-control" name="q" placeholder="{{ _('Search list...') }}" value="{{context.q}}" autocomplete="off">
<input type="text" class="form-control" name="q" placeholder="{{ _('Search list...') }}"
aria-label="Search list" value="{{ context.q | default('', true) }}"
autocomplete="off">
</div>
</div>
{% if followees %}
Expand Down

0 comments on commit 905e35a

Please sign in to comment.