WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: AddThis] Valid and efficient markup

[Resolved] [Plugin: AddThis] Valid and efficient markup

  • On the Goringe Accountants London website I am running the AddThis WordPress plugin on all my pages (bottom right).

    When I analyse the home page with gtmetrix.com or validator.w3.org I get lots of addthis coding warnings and errors. I would like to clean up my code so that it is valid and performs well but I cannot do this without AddThis making changes to the plugin. Please could I request such changes?

    Invalid Markup

    • Line 2, Column 122: Attribute xmlns:fb not allowed here.
      …om/2008/fbml" xmlns:addthis="http://www.addthis.com/help/api-spec" <strong title="Position where error was detected.">><head>
      
    • Line 2, Column 122: Attribute with the local name xmlns:fb is not serializable as XML 1.0.
      …om/2008/fbml" xmlns:addthis="http://www.addthis.com/help/api-spec" <strong title="Position where error was detected.">><head>
      

       

    • Line 2, Column 122: Attribute xmlns:addthis not allowed here.
      …om/2008/fbml" xmlns:addthis="http://www.addthis.com/help/api-spec" <strong title="Position where error was detected.">><head>
      

       

    • Line 2, Column 122: Attribute with the local name xmlns:addthis is not serializable as XML 1.0.
      …om/2008/fbml" xmlns:addthis="http://www.addthis.com/help/api-spec" <strong title="Position where error was detected.">><head>
      
    • Line 309, Column 63: Attribute g:plusone:size is not serializable as XML 1.0.
      class="addthis_button_google_plusone" g:plusone:size="medium" <strong title="Position where error was detected.">>

       

    • Line 309, Column 63: Attribute g:plusone:size not allowed on element a at this point.
      class="addthis_button_google_plusone" g:plusone:size="medium" <strong title="Position where error was detected.">>

    Inefficient CSS selectors
    http://s7.addthis.com/static/r07/counter002.css has 0 very inefficient rules, 0 inefficient rules, and 3 potentially inefficient uses of :hover out of 34 total rules.

    Rules that use the :hover pseudo-selector on non-anchor elements. This can cause performance problems in Internet Explorer versions 7 and 8 when a strict doctype is used.

    • .addthis_counter .addthis_button_expanded:hover
    • .addthis_counter.addthis_bubble_style:hover
    • .addthis_32x32_style .addthis_counter.addthis_bubble_style:hover

    http://s7.addthis.com/static/r07/widget083.css has 0 very inefficient rules, 14 inefficient rules, and 11 potentially inefficient uses of :hover out of 764 total rules.

    Inefficient rules (good to fix on interactive pages):

    • #at16p form input Tag key with 2 descendant selectors
    • * html #at16abifc iframe Tag key with 3 descendant selectors
    • #at16pc form label Tag key with 2 descendant selectors
    • #at16pc form label span Tag key with 3 descendant selectors
    • * html #at_email textarea Tag key with 3 descendant selectors
    • :first-child+html #at_email textarea Tag key with 2 descendant selectors
    • #at16pc form input:focus Tag key with 2 descendant selectors
    • * html #at16psf input Tag key with 3 descendant selectors
    • :first-child+html #at16psf input Tag key with 2 descendant selectors
    • #at15s #at16pf a Tag key with 2 descendant selectors
    • #at_promo h4 sup Tag key with 2 descendant selectors
    • #at_hover.atm-s a Tag key with descendant selector and class overly qualified with ID
    • #at_hover.atm-s a:hover Tag key with descendant selector and class overly qualified with ID
    • .atm-s a span Tag key with 2 descendant selectors

    Rules that use the :hover pseudo-selector on non-anchor elements. This can cause performance problems in Internet Explorer versions 7 and 8 when a strict doctype is used.

    • #at15sptx:hover
    • #at_hover .at_item:hover
    • #at_hover .at_item:hover
    • #at_share .at_item:hover
    • .at300b:hover
    • .at300bs:hover
    • #at16p .atbtn:hover
    • #at16recap .atbtn:hover
    • #at20mc.ipad #at_hover .at_item:hover
    • .addthis_textshare:hover
    • .at_img_share:hover
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: AddThis] Valid and efficient markup’ is closed to new replies.