UX: Hide/show preview button title attribute fix (#28155)

This commit is contained in:
carson chang 2024-07-30 20:43:12 -07:00 committed by GitHub
parent a32390f5dc
commit fa3f50efd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -332,7 +332,7 @@
class="btn btn-default no-text mobile-preview"
title={{i18n "composer.show_preview"}}
{{on "click" this.composer.togglePreview}}
aria-label={{i18n "preview"}}
aria-label={{i18n "composer.show_preview"}}
>
{{d-icon "desktop"}}
</a>
@ -340,6 +340,7 @@
{{#if this.composer.showPreview}}
<DButton
@action={{this.composer.togglePreview}}
@title="composer.hide_preview"
@ariaLabel="composer.hide_preview"
@icon="pencil-alt"
class="hide-preview"