-
|
"a11y-plugin" append an element to DOM Tree, like this: <p aria-live="assertive" aria-atomic="true" id="swup-announcer" style="position:absolute;top:0;left:0;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;white-space:nowrap;word-wrap:normal;width:1px;height:1px;"></p>But my CSP settings will block inline styling. Problems1- It will trigger an error log into browser. I have solve problem two with |
Beta Was this translation helpful? Give feedback.
Answered by
daun
Apr 9, 2025
Replies: 1 comment 1 reply
-
|
You could calculate the SHA256 hash of the inline style and add it to your CSP config as an unsafe hash. See this post for an example. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bozdevs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could calculate the SHA256 hash of the inline style and add it to your CSP config as an unsafe hash. See this post for an example.