mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
A11Y: remove title from notification menu icons (#23735)
This commit is contained in:
parent
f5d4ddbff5
commit
24aea41d89
@ -2,7 +2,7 @@
|
||||
<div class="icons">
|
||||
<span class="selection-indicator"></span>
|
||||
{{#each this.icons as |icon|}}
|
||||
{{d-icon icon translatedTitle=(dasherize this.title)}}
|
||||
{{d-icon icon}}
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
@ -13,9 +13,7 @@ export default DropdownSelectBoxRowComponent.extend({
|
||||
return escapeExpression(I18n.t(`${this._start}.title`));
|
||||
}),
|
||||
|
||||
title: readOnly("label"),
|
||||
|
||||
icons: computed("title", "item.icon", function () {
|
||||
icons: computed("item.icon", function () {
|
||||
return [escapeExpression(this.item.icon)];
|
||||
}),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user