We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee4fdb0 commit 211c416Copy full SHA for 211c416
src/notification/actionable-notification.component.ts
@@ -83,6 +83,8 @@ export class ActionableNotification extends BaseNotification {
83
}
84
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`;
88
@HostBinding("class.cds--actionable-notification") notificationClass = true;
89
@HostBinding("class.cds--actionable-notification--toast") get toastVariant() { return this.notificationObj.variant === "toast"; }
90
@HostBinding("class.cds--actionable-notification--error") get isError() { return this.notificationObj.type === "error"; }
0 commit comments