Semantically adding captions for HTML lists
You can use HTML attributes as content for pseudo-elements. A handy little trick I picked up from an answer given by Dai on Stackoverflow.
So for ul elements, you can add a title attribute and then render it using the before pseudo-element.
See the Pen Untitled by Tina van Schelt (@tinavanschelt) on CodePen.
ā”ļø