WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: WCAG guideline for external stylesheet

for

Number of posts in this thread: 5 (In chronological order)

From: Gupta, Gaurav k
Date: Fri, Jul 24 2020 4:53AM
Subject: WCAG guideline for external stylesheet
No previous message | Next message →

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.

From: Birkir R. Gunnarsson
Date: Fri, Jul 24 2020 5:15AM
Subject: Re: WCAG guideline for external stylesheet
← Previous message | Next message →

Nope
Inline vs. external CSS is not an accessibility requirement.

On 7/24/20, Gupta, Gaurav k via WebAIM-Forum
< = EMAIL ADDRESS 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.

From: Mallory
Date: Fri, Jul 24 2020 10:13AM
Subject: Re: WCAG guideline for external stylesheet
← Previous message | Next message →

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.

cheers,
Mallory

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 ADDRESS 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.
> > > > >

From: Patrick H. Lauke
Date: Fri, Jul 24 2020 2:56PM
Subject: Re: WCAG guideline for external stylesheet
← Previous message | Next message →

On 24/07/2020 17:13, Mallory wrote:
> 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.

However, the SC itself doesn't mandate that it must be possible (easily
or otherwise) for users to actually change the spacing. Only that if
they *do* manage to do it, things don't break. So yes, as a best
practice, always good to note this sort of thing...but it doesn't affect
pass/fail for the text spacing SC itself.

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

From: Mallory
Date: Sat, Jul 25 2020 1:34AM
Subject: Re: WCAG guideline for external stylesheet
← Previous message | No next message

Agreed, that's exactly what I meant with "the text-spacing SC is only about how the content doesn't break if a user changes the text-spacing."

But good to keep it clear. If it were a fail of the SC, there'd be no wee little "note for the developers", but a big stinky Jira ticket :P

cheers,
_mallory

On Fri, Jul 24, 2020, at 10:56 PM, Patrick H. Lauke wrote:
> On 24/07/2020 17:13, Mallory wrote:
> > 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.
>
> However, the SC itself doesn't mandate that it must be possible (easily
> or otherwise) for users to actually change the spacing. Only that if
> they *do* manage to do it, things don't break. So yes, as a best
> practice, always good to note this sort of thing...but it doesn't affect
> pass/fail for the text spacing SC itself.
>
> 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
> > > > >