File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,8 @@ export class ActionableNotification extends BaseNotification {
83
83
}
84
84
85
85
@HostBinding ( "attr.id" ) notificationID = `notification-${ ActionableNotification . notificationCount ++ } ` ;
86
+ @HostBinding ( "attr.aria-label" ) notificationLabel = `Notification` ;
87
+ @HostBinding ( "attr.aria-describedby" ) notificationDescription = `${ this . notificationObj . type } notification` ;
86
88
@HostBinding ( "class.cds--actionable-notification" ) notificationClass = true ;
87
89
@HostBinding ( "class.cds--actionable-notification--toast" ) get toastVariant ( ) { return this . notificationObj . variant === "toast" ; }
88
90
@HostBinding ( "class.cds--actionable-notification--error" ) get isError ( ) { return this . notificationObj . type === "error" ; }
You can’t perform that action at this time.
0 commit comments