mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
A11Y: Accessible full-screen and minimize composer buttons (#17936)
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
<PluginOutlet @name="before-composer-toggles" @tagName="span" @connectorTagName="div" />
|
||||
|
||||
{{#if this.site.mobileView}}
|
||||
<DButton @class="btn-flat toggle-toolbar btn-mini-toggle" @icon="bars" @action={{this.toggleToolbar}} @title={{this.toggleToolbarTitle}} @preventFocus={{true}} @tabindex={{-1}} />
|
||||
<DButton @class="btn-flat toggle-toolbar btn-mini-toggle" @icon="bars" @action={{this.toggleToolbar}} @title={{this.toggleToolbarTitle}} @preventFocus={{true}} />
|
||||
{{/if}}
|
||||
|
||||
<DButton @class="btn-flat toggler toggle-minimize btn-mini-toggle" @icon={{this.toggleIcon}} @action={{this.toggleComposer}} @title={{this.toggleTitle}} @tabindex={{-1}} />
|
||||
|
||||
{{#if this.showFullScreenButton}}
|
||||
<DButton @class="btn-flat toggle-fullscreen btn-mini-toggle" @icon={{this.fullscreenIcon}} @action={{this.toggleFullscreen}} @title={{this.fullscreenTitle}} @tabindex={{-1}} />
|
||||
<DButton @class="btn-flat toggle-fullscreen btn-mini-toggle" @icon={{this.fullscreenIcon}} @action={{this.toggleFullscreen}} @title={{this.fullscreenTitle}} />
|
||||
{{/if}}
|
||||
|
||||
<DButton @class="btn-flat toggler toggle-minimize btn-mini-toggle" @icon={{this.toggleIcon}} @action={{this.toggleComposer}} @title={{this.toggleTitle}} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user