Skip to content

Commit 42ed562

Browse files
fix(dialog): Remove the incorrect descendant element
1 parent 74eed6f commit 42ed562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dialog/dialog.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export class DialogDirective implements OnInit, OnDestroy, OnChanges {
117117

118118
@HostBinding("attr.role") role = "button";
119119
@HostBinding("attr.aria-haspopup") hasPopup = true;
120-
@HostBinding("attr.aria-owns") get ariaOwns(): string {
120+
@HostBinding("attr.aria-controls") get ariaControls(): string {
121121
return this.isOpen ? this.dialogConfig.compID : null;
122122
}
123123

0 commit comments

Comments
 (0)