This PR renders story iframes in external documents (src="/file_path.html") instead of inlined documents (srcdoc="<html>..."). This is necessary for me to be able to use the WAVE browser extension to do accessibility checks of the components.
WAVE cannot run checks on iframe on a page, so I need to "open iframe in a new tab" to run WAVE on its content. But you can only do that when the iframe is an external document.
This PR renders story iframes in external documents (
src="/file_path.html"
) instead of inlined documents(srcdoc="<html>..."
). This is necessary for me to be able to use the WAVE browser extension to do accessibility checks of the components.WAVE cannot run checks on iframe on a page, so I need to "open iframe in a new tab" to run WAVE on its content. But you can only do that when the iframe is an external document.
https://github.com/bitcrowd/bitstyles_phoenix/assets/7852553/601e19ca-978b-43ab-b53d-6b400126971f