trait miss
This commit is contained in:
parent
7f7edb1ab6
commit
fbc631d151
@ -95,7 +95,8 @@ import Foundation
|
||||
func updateAccessibilityLabel() {
|
||||
|
||||
let linkShowing = link.titleLabel?.text?.count ?? 0 > 0
|
||||
isAccessibilityElement = !linkShowing
|
||||
isAccessibilityElement = !linkShowing
|
||||
accessibilityTraits = (accessoryView != nil) ? .button : .none
|
||||
if !linkShowing {
|
||||
// Make whole cell focusable if no link.
|
||||
accessibilityLabel = getAccessibilityMessage()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user