a11y added a label to the remove all filters button

This commit is contained in:
Mauro Romito
2025-06-26 13:34:55 +02:00
committed by Mauro
parent 0eac918715
commit e0c2780081
3 changed files with 4 additions and 0 deletions
+2
View File
@@ -2464,6 +2464,8 @@ internal enum L10n {
internal static var screenRoomlistMarkAsRead: String { return L10n.tr("Localizable", "screen_roomlist_mark_as_read") }
/// Mark as unread
internal static var screenRoomlistMarkAsUnread: String { return L10n.tr("Localizable", "screen_roomlist_mark_as_unread") }
/// Remove all filters
internal static var screenRoomlistRemoveAllFilters: String { return L10n.tr("Localizable", "screen_roomlist_remove_all_filters") }
/// This room has been upgraded
internal static var screenRoomlistTombstonedRoomDescription: String { return L10n.tr("Localizable", "screen_roomlist_tombstoned_room_description") }
/// Add room address
@@ -64,6 +64,7 @@ struct RoomListFiltersView: View {
.font(.system(size: 24))
.foregroundColor(.compound.bgActionPrimaryRest)
})
.accessibilityLabel(L10n.screenRoomlistRemoveAllFilters)
}
private func getBinding(for filter: RoomListFilter, scrollViewProxy: ScrollViewProxy) -> Binding<Bool> {