Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix P2P toggle accessibility

Chocobozzzc73576cef3ce
diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html
index 2e8fab69e2..a80fb4175e 100644
--- a/client/src/app/menu/menu.component.html
+++ b/client/src/app/menu/menu.component.html
@@ -57,7 +57,7 @@
<span class="ms-auto muted">{{ nsfwPolicy }}</span>
</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>
<ng-container i18n>Help share videos</ng-container>