I still think that adding text (or content) over images should be a feature of #HTML. That’d make so many use-cases suddenly possible, even for static hosting and #JavaScript -less server-side rendering!

@aartaka I suspect I'm completely misunderstanding you but you can do this in pure html. For example, the body tag has a background attribute that lets you set an image as a page background without any css developer.mozilla.org/en-US/do

@voxel it does, but that moves the image from the DOM to CSSOM, making it kinda non-interactable. You cannot get alt text, nor download the image for later. While I want both an accessible image and content over it, like with link maps, but for content.

This is doable with CSS in another way: relative positioning. But it’s fragile and wrong. There’s a need for a native solution, at least for me.

Follow

@aartaka @voxel What is the specific use case you have that needs non-css methods of accomplishing this UI? Gen curious.

Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.