1 | 1 | Update: After [https://wordpress.slack.com/archives/C02RP4X03/p1715011007477499 chatting] with @joedolson, I found out that `visibility:hidden` works just as well if not better than `opacity:0`. Not only does the lazy-loaded iframe load consistently across Chrome, Safari, and Firefox but there is also an actual accessibility ''benefit'' to using `visibility:hidden` over `clip`: the entire iframe is made non-interactive. With `clip` a user tabbing through links on a page will also encounter tab stops ''inside'' the clipped iframe, which is particularly confusing to sighted users navigating by keyboard as focus seems to get lost on the page for several tab presses. In contrast, when an iframe is hidden with `visibility` then no tab stops occur in the iframe. The PR has been updated to apply this change. |