Mark missing SidebarCells as buttons (#516)

Credit where credit is due: Thanks to @j-f1 et al.
This commit is contained in:
Nathan Mattes 2022-11-08 16:49:58 +01:00
parent 4912d84d46
commit 4621a86df5
1 changed files with 1 additions and 0 deletions

View File

@ -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)