A11Y: Accessible full-screen and minimize composer buttons (#17936)
This commit is contained in:
parent
c790b0305c
commit
2e09a88a29
|
@ -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>
|
||||
|
|
|
@ -90,9 +90,6 @@ html.composer-open {
|
|||
.saving-text {
|
||||
display: none;
|
||||
}
|
||||
.toggle-minimize {
|
||||
order: 2;
|
||||
}
|
||||
}
|
||||
|
||||
&.saving .saving-text {
|
||||
|
@ -164,10 +161,6 @@ html.composer-open {
|
|||
.d-icon {
|
||||
color: var(--primary-medium);
|
||||
}
|
||||
|
||||
.toggle-minimize {
|
||||
order: 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue