I am attempting to create a basic, accessible link wrapper for core WP group blocks. There are plugins available that provide this functionality, so I thought why not just use ACF. However, from what I am seeing, it does not appear that an HTML A tag can be used to wrap InnerBlocks. Using the code below, InnerBlocks is output outside the initial A tag, and multiple elements within InnerBlocks are repeatedly wrapped with the same A tag. My goal is to create linked cards (group blocks that contain images, text, misc, etc).
Is there a requirement to only wrap InnerBlocks with a DIV? Or is my code not correct for the proper output? Thanks for any assistance.