Fix for CXTDT-197891, Setting accessibility trait in 'list1CFWBdy' component
This commit is contained in:
parent
d4e438e278
commit
a005d9e5c1
@ -45,6 +45,7 @@ import Foundation
|
|||||||
|
|
||||||
func updateAccessibilityLabel() {
|
func updateAccessibilityLabel() {
|
||||||
isAccessibilityElement = true
|
isAccessibilityElement = true
|
||||||
|
accessibilityTraits = (accessoryView != nil) ? .button : .none
|
||||||
var message = ""
|
var message = ""
|
||||||
|
|
||||||
if let headlineLabel = headlineBody.headlineLabel.text {
|
if let headlineLabel = headlineBody.headlineLabel.text {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user