Skip to content

Commit 9f49b5f

Browse files
committed
fix banner dap issue
1 parent 77eb7aa commit 9f49b5f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/banner/banner.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ import { I18n } from "./../i18n/i18n.module";
3737
<button
3838
(click)="onClose()"
3939
class="bx--inline-notification__close-button"
40+
[attr.aria-label]="bannerObj.closeLabel"
4041
type="button">
4142
<svg
4243
class="bx--inline-notification__close-icon"
43-
[attr.aria-label]="bannerObj.closeLabel"
4444
width="10"
4545
height="10"
4646
viewBox="0 0 10 10"

src/banner/toast.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ import { Banner } from "./banner.component";
2525
<button
2626
class="bx--toast-notification__close-button"
2727
type="button"
28+
[attr.aria-label]="bannerObj.closeLabel"
2829
(click)="onClose()">
2930
<svg
3031
class="bx--toast-notification-icon"
31-
[attr.aria-label]="bannerObj.closeLabel"
3232
width="10"
3333
height="10"
3434
viewBox="0 0 10 10"

0 commit comments

Comments
 (0)