Structured data: Using the potentialAction item property to mark up social buttons and forms

Do you want the social-media buttons (like, share, follow, +1 and tweet buttons) as well as the comment, search and subscription forms on your webpages to appear in the results when you run Google's Structured Data Testing Tool? If so, you should use the Schema.org potentialAction item-property tag, with the corresponding item-type tag, to mark them up, as follows:

keyboard

Like button
<div itemprop="potentialAction" itemscope="" itemtype="http://schema.org/LikeAction">
[like button code]
</div>

Share button
<div itemprop="potentialAction" itemscope="" itemtype="http://schema.org/ShareAction">
[share button code]
</div>

Follow button
<div itemprop="potentialAction" itemscope="" itemtype="http://schema.org/FollowAction">
[follow button code]
</div>

Comment form
<div itemprop="potentialAction" itemscope="" itemtype="http://schema.org/CommentAction">
[comment form]
</div>

Search form
<div itemprop="potentialAction" itemscope="" itemtype="http://schema.org/SearchAction">
[search form]
</div>

Subscription form
<div itemprop="potentialAction" itemscope="" itemtype="http://schema.org/SubscribeAction">
[subscription form]
</div>

0 comment... add one now