Skip to content

Commit 9b1105b

Browse files
authored
Merge pull request #5 from github/add--1px-margin-to-live-region-element
add -1px margin to live region element
2 parents dd45a06 + 7180231 commit 9b1105b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ariaNotify-polyfill.js

+2
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ if (!("ariaNotify" in Element.prototype)) {
176176
connectedCallback() {
177177
this.ariaLive = "polite";
178178
this.ariaAtomic = "true";
179+
this.style.marginLeft = "-1px";
180+
this.style.marginTop = "-1px";
179181
this.style.position = "absolute";
180182
this.style.width = "1px";
181183
this.style.height = "1px";

0 commit comments

Comments
 (0)