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