Merge branch 'bugfix/CXTDT-459511' into 'release/11_1_4'
Setting accessibility label if available before text for eyebrow, headline,... ### Summary Setting accessibility label if available before text for eyebrow, headline, body labels in EyebrowHeadlineBodyLink molecule's accessibility label ### JIRA Ticket [CXTDT-459511](https://onejira.verizon.com/browse/CXTDT-459511) Co-authored-by: Sumanth Nadigadda <sumanth.nadigadda@verizon.com> Co-authored-by: Hedden, Kyle Matthew <kyle.hedden@verizonwireless.com> See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui/-/merge_requests/1031
This commit is contained in:
commit
547c3ad2a4
@ -88,15 +88,15 @@
|
||||
|
||||
var message = ""
|
||||
|
||||
if let eyebrowLabel = eyebrow.text {
|
||||
if let eyebrowLabel = eyebrow.accessibilityLabel ?? eyebrow.text {
|
||||
message += eyebrowLabel + ", "
|
||||
}
|
||||
|
||||
if let headlineLabel = headline.text {
|
||||
if let headlineLabel = headline.accessibilityLabel ?? headline.text {
|
||||
message += headlineLabel + ", "
|
||||
}
|
||||
|
||||
if let bodyLabel = body.text {
|
||||
if let bodyLabel = body.accessibilityLabel ?? body.text {
|
||||
message += bodyLabel
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user