Open kinglozzer opened 1 year ago
Currently the markup is roughly:
<div class="captionImage leftAlone"> <img src="people.jpg" width="123" height="456" alt="Team photo" /> <p class="caption leftAlone">From left to right: John, Karen, Richard</p> </div>
This should be represented by <figure> and <figcaption> elements:
<figure>
<figcaption>
<figure class="captionImage leftAlone"> <img src="people.jpg" width="123" height="456" alt="Team photo" /> <figcaption class="caption leftAlone">From left to right: John, Karen, Richard</figcaption> </figure>
The same applies to captions added to embedded videos.
Initial PR: https://github.com/silverstripe/silverstripe-asset-admin/pull/1321. I need to rebase it and do a matching PR for framework
Are you still interested in this @kinglozzer?
Currently the markup is roughly:
This should be represented by
<figure>
and<figcaption>
elements:The same applies to captions added to embedded videos.
PRs