Skip to content

Commit 7180231

Browse files
keithamussmockle
andauthored
Update ariaNotify-polyfill.js
Co-authored-by: Clay Miller <[email protected]>
1 parent 31e39ee commit 7180231

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ariaNotify-polyfill.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ if (!("ariaNotify" in Element.prototype)) {
176176
connectedCallback() {
177177
this.ariaLive = "polite";
178178
this.ariaAtomic = "true";
179-
this.style.margin = "-1px";
179+
this.style.marginLeft = "-1px";
180+
this.style.marginTop = "-1px";
180181
this.style.position = "absolute";
181182
this.style.width = "1px";
182183
this.style.height = "1px";

0 commit comments

Comments
 (0)