Skip to content

Commit

Permalink
fix extra blocking element in body
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed May 1, 2023
1 parent 8e4888f commit a2d6c25
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ function getAnnouncerNode() {
return existingAnnouncer.shadowRoot.childNodes[0] as HTMLElement
} else {
const container = document.createElement(ANNOUNCER_TYPE)
container.style.cssText = 'position:absolute'
const announcer = document.createElement('div')
announcer.setAttribute('aria-live', 'assertive')
announcer.setAttribute('id', ANNOUNCER_ID)
Expand Down

0 comments on commit a2d6c25

Please sign in to comment.