Skip to content

Commit

Permalink
mefechoel#28 Prevent status div from messing with page layout
Browse files Browse the repository at this point in the history
  • Loading branch information
mefechoel committed Jan 16, 2021
1 parent 87add5a commit a21718f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/a11y.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ export const createTriggerFocus = (a11yConfig, announcementText, location) => (
});

export const visuallyHiddenStyle =
"position:absolute;" +
"position:fixed;" +
"top:-1px;" +
"left:0;" +
"width:1px;" +
"height:1px;" +
"padding:0;" +
Expand Down

0 comments on commit a21718f

Please # to comment.