WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: WCAG guideline for external stylesheet


From: Mallory
Date: Jul 24, 2020 10:13AM

There is something I tend to check, however:
the text-spacing SC is only about how the content doesn't break if a user changes the text-spacing.

However in practice, on sites where JavaScript injects inline `style` attributes with text-spacing styles (word-spacing, letter-spacing, line-height and bottom margin on paragraphs) dynamically (several jQuery plugins have done this in the past), it doesn't seem possible for users to adjust the text-spacing as needed.

When I find these inline style="" attributes which specifically affect text-spacing properties, I do make a note of it for the developers.

In general, injected inline styles may prevent things like user stylesheets or browser plugins to give the desired effect, if the JavaScript on the page is making changes after browser plugins do, for example.


On Fri, Jul 24, 2020, at 1:15 PM, Birkir R. Gunnarsson wrote:
> Nope
> Inline vs. external CSS is not an accessibility requirement.
> On 7/24/20, Gupta, Gaurav k via WebAIM-Forum
> < <EMAIL REMOVED> > wrote:
> >
> > Hi All,
> >
> > Is there WCAG guideline for external stylesheet?
> >
> >
> > Regards
> > Gaurav
> >
> > ----------------------------------------------------------------------
> > This message w/attachments (message) is intended solely for the use of the
> > intended recipient(s) and may contain information that is privileged,
> > confidential or proprietary. If you are not an intended recipient, please
> > notify the sender, and then please delete and destroy all copies and
> > attachments, and be advised that any review or dissemination of, or the
> > taking of any action in reliance on, the information contained in or
> > attached to this message is prohibited.
> > Unless specifically indicated, this message is not an offer to sell or a
> > solicitation of any investment products or other financial product or
> > service, an official confirmation of any transaction, or an official
> > statement of Sender. Subject to applicable law, Sender may intercept,
> > monitor, review and retain e-communications (EC) traveling through its
> > networks/systems and may produce any such EC to regulators, law enforcement,
> > in litigation and as required by law.
> > The laws of the country of each sender/recipient may impact the handling of
> > EC, and EC may be archived, supervised and produced in countries other than
> > the country in which you are located. This message cannot be guaranteed to
> > be secure or free of errors or viruses. Attachments that are part of this
> > EC may have additional important disclosures and disclaimers, which you
> > should read. By messaging with Sender you consent to the foregoing.
> > > > > > > > > >
> --
> Work hard. Have fun. Make history.
> > > > >