Fix markdown textarea maximize icon accessibility
This commit is contained in:
parent
16ea7aef8a
commit
55610d8a47
|
@ -26,9 +26,13 @@
|
|||
</ng-container>
|
||||
|
||||
<button type="button" (click)="onMaximizeClick()" class="maximize-button border-0 m-3" [disabled]="disabled">
|
||||
<my-global-icon *ngIf="!isMaximized" [ngbTooltip]="maximizeInText" iconName="fullscreen"></my-global-icon>
|
||||
|
||||
<my-global-icon *ngIf="isMaximized" [ngbTooltip]="maximizeOutText" iconName="exit-fullscreen"></my-global-icon>
|
||||
@if (isMaximized) {
|
||||
<my-global-icon [ngbTooltip]="maximizeOutText" iconName="exit-fullscreen"></my-global-icon>
|
||||
<span class="visually-hidden">{{ maximizeOutText }}</span>
|
||||
} @else {
|
||||
<my-global-icon [ngbTooltip]="maximizeInText" iconName="fullscreen"></my-global-icon>
|
||||
<span class="visually-hidden">{{ maximizeInText }}</span>
|
||||
}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue