Skip to content

Commit 985a1ed

Browse files
authored
Merge pull request #672 from zendesk/malgorzata/kiaw-1463-change-text-label
[KIAW-1463] Change aria-label for subfilters menu button
2 parents 7b6a700 + 3d721d7 commit 985a1ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/search_results.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
{{#is current_filter.identifier 'community'}}
7979
<h3 class="collapsible-sidebar-title sidenav-title">{{t 'filter_by_topic'}}</h3>
8080
{{/is}}
81-
<button type="button" class="collapsible-sidebar-toggle" aria-expanded="false" aria-label="{{t 'search_result_subfilter_menu'}}">
81+
<button type="button" class="collapsible-sidebar-toggle" aria-expanded="false" aria-label="{{#is current_filter.identifier 'knowledge_base'}}{{t 'search_result_articles_menu'}}{{else}}{{#is current_filter.identifier 'community'}}{{t 'search_result_posts_menu'}}{{else}}{{t 'search_result_subfilter_menu'}}{{/is}}{{/is}}">
8282
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" focusable="false" viewBox="0 0 12 12" aria-hidden="true" class="collapsible-sidebar-toggle-icon chevron-icon">
8383
<path fill="none" stroke="currentColor" stroke-linecap="round" d="M3 4.5l2.6 2.6c.2.2.5.2.7 0L9 4.5"/>
8484
</svg>

0 commit comments

Comments
 (0)