diff --git a/web/src/styles.js b/web/src/styles.js index af8071dc0..3bccaa9eb 100644 --- a/web/src/styles.js +++ b/web/src/styles.js @@ -117,12 +117,12 @@ export const focusRing = css` export const visuallyhidden = css` border: 0; clip: rect(0 0 0 0); - height: 1px; - margin: -1px; + height: auto; + margin: 0; overflow: hidden; padding: 0; position: absolute; - width: 1px; + white-space: nowrap; ` export const visuallyhiddenMobile = css`