Digital ACT-191 ONEAPP-6318 story: updated role as button for the button icon.

This commit is contained in:
vasavk 2024-03-04 16:25:16 +05:30
parent ab33a0030b
commit e7a85d16bc

View File

@ -343,7 +343,7 @@ open class ButtonIcon: Control, Changeable, FormFieldable {
open override func setup() {
super.setup()
isAccessibilityElement = true
accessibilityTraits = .image
accessibilityTraits = .button
accessibilityElements = [badgeIndicator]
//create a layoutGuide for the icon to key off of