Skip to content

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

Fix close modal accessibility

Chocobozzz15d98f4c1212
diff --git a/client/src/app/shared/shared-share-modal/video-share.component.html b/client/src/app/shared/shared-share-modal/video-share.component.html
index 64e7a218c1..61cf0146dd 100644
--- a/client/src/app/shared/shared-share-modal/video-share.component.html
+++ b/client/src/app/shared/shared-share-modal/video-share.component.html
@@ -2,8 +2,8 @@
<div class="modal-header">
<h4 i18n class="modal-title">Share</h4>
- <button class="border-0 p-0" (click)="hide()">
- <my-global-icon iconName="cross" aria-label="Close" role="button" ></my-global-icon>
+ <button class="border-0 p-0" title="Close this modal" i18n-title (click)="hide()">
+ <my-global-icon iconName="cross"></my-global-icon>
</button>
</div>