Skip to content

Commit a6ec369

Browse files
authored
fix: set id to popover content and aria-live attribute (#3110)
Signed-off-by: Akshat Patel <38994122+Akshat55@users.noreply.github.com>
1 parent bcdfe1c commit a6ec369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/toggletip/toggletip.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import { ToggletipButton } from "./toggletip-button.directive";
3030
changeDetection: ChangeDetectionStrategy.OnPush,
3131
template: `
3232
<ng-content select="[cdsToggletipButton]"></ng-content>
33-
<cds-popover-content>
33+
<cds-popover-content [attr.id]="id" aria-live="polite">
3434
<ng-content select="[cdsToggletipContent]"></ng-content>
3535
</cds-popover-content>
3636
`

0 commit comments

Comments
 (0)