Fix P2P toggle accessibility
This commit is contained in:
parent
d950a30bc3
commit
c73576cef3
|
@ -57,7 +57,7 @@
|
||||||
<span class="ms-auto muted">{{ nsfwPolicy }}</span>
|
<span class="ms-auto muted">{{ nsfwPolicy }}</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<button class="dropdown-item" (mousedown)="$event.stopPropagation(); toggleUseP2P()" ngbDropdownItem>
|
<button class="dropdown-item" (mousedown)="$event.stopPropagation(); toggleUseP2P()" [ariaPressed]="user.p2pEnabled" ngbDropdownItem>
|
||||||
<my-global-icon iconName="p2p" aria-hidden="true"></my-global-icon>
|
<my-global-icon iconName="p2p" aria-hidden="true"></my-global-icon>
|
||||||
<ng-container i18n>Help share videos</ng-container>
|
<ng-container i18n>Help share videos</ng-container>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue