I have a rather complicated list of Dynamic Div classes that contain various neighboring divs to display the contents of the store - all this should have a hang state and be clickable (currently it is used on guidance models) and is accessible.
I believe that I can either approach this path -
1 - Compose the containing div in the anchor link and style accordingly
2 - Fix the anchor tag in the div class and write a JS function to trigger a click on the anchor when the contained div is clicked.
What are the thoughts on the right approach?
source
share