mirror of https://github.com/Chocobozzz/PeerTube
Fix broadcast dismiss icon accessibility
parent
84bcfdaeff
commit
c5397bd066
|
@ -31,10 +31,10 @@
|
|||
<div *ngIf="broadcastMessage" class="broadcast-message alert" [ngClass]="broadcastMessage.class">
|
||||
<div [innerHTML]="broadcastMessage.message"></div>
|
||||
|
||||
<my-global-icon
|
||||
*ngIf="broadcastMessage.dismissable" (click)="hideBroadcastMessage()"
|
||||
iconName="cross" role="button" title="Close this message" i18n-title
|
||||
></my-global-icon>
|
||||
<button
|
||||
*ngIf="broadcastMessage.dismissable" (click)="hideBroadcastMessage()" class="border-0" title="Close this message" i18n-title>
|
||||
<my-global-icon iconName="cross"></my-global-icon>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<router-outlet></router-outlet>
|
||||
|
|
|
@ -97,10 +97,14 @@
|
|||
grid-template-columns: 1fr 30px;
|
||||
column-gap: 10px;
|
||||
|
||||
my-global-icon {
|
||||
justify-self: center;
|
||||
align-self: center;
|
||||
cursor: pointer;
|
||||
button {
|
||||
display: block;
|
||||
color: inherit;
|
||||
height: fit-content;
|
||||
margin: auto;
|
||||
|
||||
> my-global-icon {
|
||||
width: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -140,7 +140,7 @@
|
|||
<div>
|
||||
<a i18n routerLink="/about/instance">Contact</a>
|
||||
<a i18n href="https://joinpeertube.org/help" i18n-title title="Get help using PeerTube" target="_blank" rel="noopener noreferrer">Help</a>
|
||||
<a i18n href="https://joinpeertube.org/faq" i18n-title title="Frequently asked questions about PeerTube" target="_blank" rel="noopener noreferrer">FAQ</a>
|
||||
<a i18n href="https://joinpeertube.org/faq" i18n-title title="FAQ (Frequently Asked Questions) - about PeerTube" target="_blank" rel="noopener noreferrer">FAQ</a>
|
||||
<a i18n routerLink="/about/instance" fragment="statistics">Stats</a>
|
||||
<a i18n href="https://docs.joinpeertube.org/api-rest-reference.html" i18n-title title="API documentation" target="_blank" rel="noopener noreferrer">API</a>
|
||||
<button (click)="openHotkeysCheatSheet()" class="button-unstyle" i18n>Keyboard shortcuts</button>
|
||||
|
|
Loading…
Reference in New Issue