ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix sort select accessibility
Chocobozzzcdd874683fa5
diff --git a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.htmlindex f72a1b703e..dd244ec008 100644--- a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html+++ b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html@@ -7,8 +7,7 @@</a><div class="peertube-select-container peertube-select-button ms-2 me-2">- <select [(ngModel)]="notificationSortType" (ngModelChange)="onChangeSortColumn()" class="form-control">- <option value="undefined" disabled i18n>Sort by</option>+ <select [(ngModel)]="notificationSortType" (ngModelChange)="onChangeSortColumn()" class="form-control" i18n-ariaLabel aria-label="Sort by"><option value="createdAt" i18n>Newest first</option><option value="read" [disabled]="!hasUnreadNotifications()" i18n>Unread first</option></select>diff --git a/client/src/app/+my-library/my-videos/my-videos.component.html b/client/src/app/+my-library/my-videos/my-videos.component.htmlindex d335d41a10..686e9fad39 100644--- a/client/src/app/+my-library/my-videos/my-videos.component.html+++ b/client/src/app/+my-library/my-videos/my-videos.component.html@@ -22,8 +22,7 @@<my-advanced-input-filter [emitOnInit]="false" [filters]="inputFilters" (search)="onSearch($event)"></my-advanced-input-filter><div class="peertube-select-container peertube-select-button">- <select [(ngModel)]="sort" (ngModelChange)="onChangeSortColumn()" class="form-control">- <option value="undefined" disabled i18n>Sort by</option>+ <select [(ngModel)]="sort" (ngModelChange)="onChangeSortColumn()" class="form-control" i18n-ariaLabel aria-label="Sort by"><option value="-publishedAt" i18n>Last published first</option><option value="-createdAt" i18n>Last created first</option><option value="-views" i18n>Most viewed first</option>diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scssindex 841879ba23..08a4dab1ab 100644--- a/client/src/sass/include/_mixins.scss+++ b/client/src/sass/include/_mixins.scss@@ -412,21 +412,8 @@@include rounded-line-height-1-5($form-input-font-size);- &:focus {- outline: none;- }-- &:-moz-focusring {- color: transparent;- text-shadow: 0 0 0 #000;- }-option {color: #000;-- &[value=undefined] {- font-weight: $font-semibold;- }}}