I just wrote a little module for my needs in order to add microdata to field group. It defines a new field group type called "Div (extra)" and that permits you to add extra attributes in "inline" mode. https://github.com/MeuhMeuh/field_group_extra
I don't think It is a great definitive solution but It was a good workaround for me.
Hope It will help you.
Edit : please note that maybe you could try a solution with altering actual field group types, but I didn't came up to any solution with the hooks and tools that provided field group.
Comments
Comment #1
carajito CreditAttribution: carajito commentedThe option to add attribute inside of html tags of the wrapper like
Rating: 8.5
http://schema.org/
Comment #2
XmhO CreditAttribution: XmhO commentedI just wrote a little module for my needs in order to add microdata to field group. It defines a new field group type called "Div (extra)" and that permits you to add extra attributes in "inline" mode.
https://github.com/MeuhMeuh/field_group_extra
I don't think It is a great definitive solution but It was a good workaround for me.
Hope It will help you.
Edit : please note that maybe you could try a solution with altering actual field group types, but I didn't came up to any solution with the hooks and tools that provided field group.
Comment #3
jcodina CreditAttribution: jcodina commentedThanks XmhO, it works!
Comment #4
yannickooHey guys, take a look at #1926938: Simple html wrapper :)
Comment #5
carajito CreditAttribution: carajito commentedPerfect, I will test soon
Comment #6
yannickooClosed this issue because of #4.