From 4621a86df5e8c01eae7c9d05f91de95ae768dde3 Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Tue, 8 Nov 2022 16:49:58 +0100 Subject: [PATCH] Mark missing SidebarCells as buttons (#516) Credit where credit is due: Thanks to @j-f1 et al. --- Mastodon/Scene/Root/Sidebar/SidebarViewModel.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Mastodon/Scene/Root/Sidebar/SidebarViewModel.swift b/Mastodon/Scene/Root/Sidebar/SidebarViewModel.swift index 7921daa05..c3f9e3e36 100644 --- a/Mastodon/Scene/Root/Sidebar/SidebarViewModel.swift +++ b/Mastodon/Scene/Root/Sidebar/SidebarViewModel.swift @@ -88,6 +88,7 @@ extension SidebarViewModel { cell.setNeedsUpdateConfiguration() cell.isAccessibilityElement = true cell.accessibilityLabel = item.title + cell.accessibilityTraits.insert(.button) self.$currentTab .receive(on: DispatchQueue.main)