fix for setting tilecontainer label
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
f8289788ee
commit
7760fb2738
@ -341,6 +341,10 @@ open class TileContainerBase<PaddingType: DefaultValuing>: Control where Padding
|
||||
super.updateAccessibility()
|
||||
containerView.isAccessibilityElement = onClickSubscriber != nil
|
||||
containerView.accessibilityHint = "Double tap to open."
|
||||
containerView.accessibilityLabel = nil
|
||||
if let views = accessibilityElements?.compactMap({ $0 as? UIView }), !views.isEmpty {
|
||||
containerView.setAccessibilityLabel(for: views)
|
||||
}
|
||||
}
|
||||
|
||||
open override var accessibilityElements: [Any]? {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user