[wp-trac] [WordPress Trac] #29699: add_theme_support( 'screen-reader-text' );
WordPress Trac
noreply at wordpress.org
Thu Apr 2 08:27:37 UTC 2015
#29699: add_theme_support( 'screen-reader-text' );
-------------------------+------------------------------
Reporter: GaryJ | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: accessibility
-------------------------+------------------------------
Comment (by GaryJ):
Replying to [comment:48 afercia]:
> Replying to [comment:46 rianrietveld]:
> > For Dutch government websites it is forbidden to have CSS added into
the <head>, only links to stylesheets are allowed.
> Interesting, do they also mention why they want a so "strict" best
practice? Would remember them HTML5 allows stylesheets also in the body,
if properly scoped :)
Content Security Policy also defaults to not allowing
[http://www.cspplayground.com/violation_examples#style internal style
sheets], so it really should be filterable. That way we give the power to
those who can make use of it and produce cleaner code that meets their
CSP.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29699#comment:49>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list