mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
A11Y: Improve group search accessibility (#18651)
This commit is contained in:
parent
d25ca2a468
commit
8791b6d5ee
@ -7,7 +7,7 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<div class="groups-header-filters">
|
<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
|
<ComboBox @value={{this.type}} @content={{this.types}} @class="groups-header-filters-type" @onChange={{action (mut this.type)}} @options={{hash
|
||||||
clearable=true
|
clearable=true
|
||||||
@ -77,7 +77,7 @@
|
|||||||
|
|
||||||
<ConditionalLoadingSpinner @condition={{this.groups.loadingMore}} />
|
<ConditionalLoadingSpinner @condition={{this.groups.loadingMore}} />
|
||||||
{{else}}
|
{{else}}
|
||||||
<p>{{i18n "groups.index.empty"}}</p>
|
<p role="status">{{i18n "groups.index.empty"}}</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</ConditionalLoadingSpinner>
|
</ConditionalLoadingSpinner>
|
||||||
|
|
||||||
|
@ -888,6 +888,7 @@ en:
|
|||||||
group_type: "Group type"
|
group_type: "Group type"
|
||||||
is_group_user: "Member"
|
is_group_user: "Member"
|
||||||
is_group_owner: "Owner"
|
is_group_owner: "Owner"
|
||||||
|
search_results: "Search results will appear below."
|
||||||
title:
|
title:
|
||||||
one: "Group"
|
one: "Group"
|
||||||
other: "Groups"
|
other: "Groups"
|
||||||
|
Loading…
Reference in New Issue
Block a user