]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-forms/peertube-checkbox.component.html
Refactor horizontal margins
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-forms / peertube-checkbox.component.html
index 704f3e6969a0b545fdcfb7c878acc8c9d3161bc9..9d0402224d025f99b98579a4d22d539f331e577a 100644 (file)
@@ -8,7 +8,7 @@
         [id]="inputName"
         [disabled]="disabled"
       />
-      <span role="checkbox" [attr.aria-checked]="checked"></span>
+      <span role="checkbox" [attr.aria-checked]="checked" [attr.aria-label]="labelText || labelInnerHTML"></span>
       <span *ngIf="labelText">{{ labelText }}</span>
       <span
         *ngIf="!labelText && labelInnerHTML"