Skip to content

Commit b2b65e6

Browse files
authored
Merge branch 'master' into tooltip-focus
2 parents 219dbe8 + f9475a4 commit b2b65e6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/dialog/tooltip/tooltip.directive.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,11 @@ export class TooltipDirective extends DialogDirective {
5252
// tslint:disable-next-line:no-input-rename
5353
@Input("tooltip-type") tooltipType: "warning" | "error" | "" = "";
5454

55+
5556
@HostBinding("tabindex") tabIndex = 0;
5657

5758
@HostBinding("attr.aria-describedby") get descriptorId(): string {
58-
if (this.expanded) {
59-
return this.dialogConfig.compID;
60-
}
59+
return this.expanded ? this.dialogConfig.compID : null;
6160
}
6261

6362
/**

0 commit comments

Comments
 (0)