mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 00:23:41 +08:00
A11Y: Improve group search accessibility (#18651)
This commit is contained in:
parent
d25ca2a468
commit
8791b6d5ee
|
@ -7,7 +7,7 @@
|
|||
{{/if}}
|
||||
|
||||
<div class="groups-header-filters">
|
||||
<Input @value={{readonly this.filter}} placeholder={{i18n "groups.index.all"}} class="groups-header-filters-name no-blur" {{on "input" (action "onFilterChanged" value="target.value")}} />
|
||||
<Input @value={{readonly this.filter}} placeholder={{i18n "groups.index.all"}} class="groups-header-filters-name no-blur" {{on "input" (action "onFilterChanged" value="target.value")}} @type="search" aria-description={{i18n "groups.index.search_results"}} />
|
||||
|
||||
<ComboBox @value={{this.type}} @content={{this.types}} @class="groups-header-filters-type" @onChange={{action (mut this.type)}} @options={{hash
|
||||
clearable=true
|
||||
|
@ -77,7 +77,7 @@
|
|||
|
||||
<ConditionalLoadingSpinner @condition={{this.groups.loadingMore}} />
|
||||
{{else}}
|
||||
<p>{{i18n "groups.index.empty"}}</p>
|
||||
<p role="status">{{i18n "groups.index.empty"}}</p>
|
||||
{{/if}}
|
||||
</ConditionalLoadingSpinner>
|
||||
|
||||
|
|
|
@ -888,6 +888,7 @@ en:
|
|||
group_type: "Group type"
|
||||
is_group_user: "Member"
|
||||
is_group_owner: "Owner"
|
||||
search_results: "Search results will appear below."
|
||||
title:
|
||||
one: "Group"
|
||||
other: "Groups"
|
||||
|
|
Loading…
Reference in New Issue
Block a user