I am tempted to place a couple of p-elements inside a div, and a figure element into another div and place both divs inside a super div. Then I can turn super div into a flexbox container. The three divs have no semantic meaning and are used only to play with the layout of the html-page. Alternatively I can also set a figure to inline-block and have it float next to the text. That works very well except for the h2-title that is weird above it. So, I would place the h2-element underneath the image and then everything looks fine. But placing a heading element underneath an illustration, is not very semantic, is it? So here’s my question: accessibility in mind, how do I deal best with layout issues: add divs to group elements together? Change the order of certain elements? Or do I try to avoid both?
Thank you.