accessibleText update

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-04-19 14:56:25 -05:00
parent ca1e7e2b87
commit 87389d02cc

View File

@ -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
} }