accessibleText update
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
ca1e7e2b87
commit
87389d02cc
@ -52,7 +52,7 @@ open class Notification: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var accessibilityText: String {
|
var accessibleText: String {
|
||||||
switch self {
|
switch self {
|
||||||
case .info:
|
case .info:
|
||||||
"Information Message"
|
"Information Message"
|
||||||
@ -325,7 +325,7 @@ open class Notification: View {
|
|||||||
let iconColor = surface == .dark ? VDSColor.paletteWhite : VDSColor.paletteBlack
|
let iconColor = surface == .dark ? VDSColor.paletteWhite : VDSColor.paletteBlack
|
||||||
typeIcon.name = style.iconName
|
typeIcon.name = style.iconName
|
||||||
typeIcon.color = iconColor
|
typeIcon.color = iconColor
|
||||||
typeIcon.accessibilityLabel = style.accessibilityText
|
typeIcon.accessibilityLabel = style.accessibleText
|
||||||
closeButton.color = iconColor
|
closeButton.color = iconColor
|
||||||
closeButton.isHidden = hideCloseButton
|
closeButton.isHidden = hideCloseButton
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user