fix: Tidy up accessibility labels in bio fields
Enables reading out the label for the checkmark, and avoids describing the title text as a 'button'.
This commit is contained in:
parent
8ed451e858
commit
c92468a706
|
@ -68,6 +68,11 @@ extension ProfileFieldCollectionViewCell {
|
||||||
checkmark.addInteraction(editMenuInteraction)
|
checkmark.addInteraction(editMenuInteraction)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Setup Accessibility
|
||||||
|
checkmark.isAccessibilityElement = true
|
||||||
|
checkmark.accessibilityTraits = .none
|
||||||
|
keyMetaLabel.accessibilityTraits = .none
|
||||||
|
|
||||||
// containerStackView: V - [ metaContainer | plainContainer ]
|
// containerStackView: V - [ metaContainer | plainContainer ]
|
||||||
let containerStackView = UIStackView()
|
let containerStackView = UIStackView()
|
||||||
containerStackView.axis = .vertical
|
containerStackView.axis = .vertical
|
||||||
|
|
Loading…
Reference in New Issue