Merge pull request #516 from j-f1/sidebar-a11y
Mark sidebar cells as buttons
This commit is contained in:
commit
98d2a8da52
|
@ -141,6 +141,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)
|
||||||
}
|
}
|
||||||
|
|
||||||
// header
|
// header
|
||||||
|
|
Loading…
Reference in New Issue