• Hi,
    i’ve an error while validating html accessibility (in HTML5):
    Element link is missing required attribute property

    <link rel='stylesheet' id='eo_front-css' href='http://##/wp-content/plugins/event-organiser/css/eventorganiser-front-end.min.css?ver=3.0.2' type='text/css' media='all' />

    It seems to be caused by the fact that the stylesheet is loaded in wp_footer instead of <head>.

    Regards

    https://ww.wp.xz.cn/plugins/event-organiser/

Viewing 1 replies (of 1 total)
  • Plugin Author Stephen Harris

    (@stephenharris)

    This is a non-issue (see http://stackoverflow.com/a/18552152/932391).

    The stylesheet is loaded in the footer (which is allowed in HTML5) simply because it’s not possible for the plug-in to know in advance (i.e. when WordPress is rendering the <head>) that it will be needed (e.g. for shortcodes, widgets etc).

    For the stylesheet to be in the <head> would required it to be loaded on every single page, regardless of whether it is required or not.

    You can of course turn off the plugin stylesheets altogether and include them in your theme.

Viewing 1 replies (of 1 total)

The topic ‘Validation error’ is closed to new replies.