WordPress.org

Support

Support » Requests and Feedback » [Plugin: Sociable] Plugin socialble is not w3c ready

[Plugin: Sociable] Plugin socialble is not w3c ready

  • Hi!

    Thank you for the great plugin. I think it’s a pitty, that it is not w3c ready. It has got some mistakes:

    Line 177, Column 41: ID "email" already defined
    
    …<input type="text" name="email" id="email" value="" size="30" tabindex="2" />
    
    An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
    Line 138, Column 27: ID "email" first defined here
    
    	<li><a rel="nofollow" id="email" href="javascript:window.location='mailto%3A%3F

    Please fix that mistakes!

    Thank you very much

Viewing 2 replies - 1 through 2 (of 2 total)
  • I was validating my site after I installed the plugin and ran into an issue where you have multiple post on the same page.

    If the sociable function is called more than once it places the same “ID” in multiple places. I fixed this by changing ( id=” ) on line 699 to ( class=” ). There were six locations where this needed to be changed. Lines 699, 893, 1013, 1015, 1019 and 1040.

    I’m noticing the same problem. Is it possible to change the id of the links to a class instead. Validation is broken on pages where more than one post is displayed because of the non-unique id’s.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Sociable] Plugin socialble is not w3c ready’ is closed to new replies.