WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: text spacing on iFrame

for

From: Patrick H. Lauke
Date: Jul 17, 2020 7:08PM


On 18/07/2020 01:38, Ajay Sharma wrote:
> Hello,
>
> I am looking for some insights on handling the text spacing in case of
> iFrames, since as we run the javascript bookmarklet that changes the
> text spacing values, the the content under iFrame does not inherit the
> new text spacing style. Now, as iFrame generally display content from
> another website, is there any standard practice to make content within
> the iFrame inherit new style?

Recently did a hacky update to this bookmarklet to make it work with
first-level iframes.
https://developer.paciellogroup.com/blog/2018/05/short-note-on-getting-spaced-out-with-sc-1-4-12-text-spacing/

A reminder that while this is used for testing, the fundamental point of
the SC itself isn't "users can change the spacing", but that IF the
users change the spacing (however they manage to do it) stuff doesn't
get chopped off/overlaid/etc. The SC itself is silent about how/if users
can even do it.

P
--
Patrick H. Lauke

https://www.splintered.co.uk/ | https://github.com/patrickhlauke
https://flickr.com/photos/redux/ | https://www.deviantart.com/redux
twitter: @patrick_h_lauke | skype: patrick_h_lauke