Merge branch 'bugfix/proddef-1299' into 'develop'
Headline body component's accessibility label issue ### Summary Fixed headline body component's accessibility label issue ### JIRA Ticket https://onejira.verizon.com/browse/PRODDEF-1299 Co-authored-by: Sourabh Bhardwaj <sourabh.bhardwaj@verizon.com> See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui/-/merge_requests/997
This commit is contained in:
commit
b7a1cf6af6
@ -55,11 +55,11 @@ import Foundation
|
||||
isAccessibilityElement = true
|
||||
var message = ""
|
||||
|
||||
if let headlineLabel = headlineBody.headlineLabel.text {
|
||||
if let headlineLabel = headlineBody.headlineLabel.accessibilityLabel ?? headlineBody.headlineLabel.text {
|
||||
message += headlineLabel + ", "
|
||||
}
|
||||
|
||||
if let messageLabel = headlineBody.messageLabel.text {
|
||||
if let messageLabel = headlineBody.messageLabel.accessibilityLabel ?? headlineBody.messageLabel.text {
|
||||
message += messageLabel
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user