Mark missing SidebarCells as buttons (#516)
Credit where credit is due: Thanks to @j-f1 et al.
This commit is contained in:
parent
4912d84d46
commit
4621a86df5
|
@ -88,6 +88,7 @@ extension SidebarViewModel {
|
||||||
cell.setNeedsUpdateConfiguration()
|
cell.setNeedsUpdateConfiguration()
|
||||||
cell.isAccessibilityElement = true
|
cell.isAccessibilityElement = true
|
||||||
cell.accessibilityLabel = item.title
|
cell.accessibilityLabel = item.title
|
||||||
|
cell.accessibilityTraits.insert(.button)
|
||||||
|
|
||||||
self.$currentTab
|
self.$currentTab
|
||||||
.receive(on: DispatchQueue.main)
|
.receive(on: DispatchQueue.main)
|
||||||
|
|
Loading…
Reference in New Issue