I think it's obvious there's a UX problem here.
It's already very easy to do the right thing - after uploading the image, the UI generates the necessary Markdown and leaves the placeholder text selected, so you can type the replacement right away. (Of course, this doesn't help much for someone who wants to add images after writing some prose).
If you want to make it harder to do the wrong thing, then you're talking about e.g. giving an error message if the text is left at this default. I can guarantee that this would just result in a flood of images labelled "image" or "img" or - worse - "the code".
These images weren't inlined because, as Laurel says, the system deliberately disallows new users from inlining images by filtering the exclamation mark out of the Markdown. This is deliberate.
Nobody wants to try to give accurate alt text to these images because they should not have been posted in the first place.
On a technical level, it's not possible to prevent new users from posting links to images, without preventing them from posting off-site links entirely (perhaps it would be possible to use some kind of whitelisting for links to previous questions). Which I'm honestly not entirely opposed to. It would at least mean that spammers don't get even a single page load with their links intact.
On a social level, it's impossible to ensure this kind of WCAG compliance for user-generated content. (Here's what the W3C has to say about it.)
!
if they are a useful for the question. As soon as the!
is added, the image will show up!
. I've been copying the URL, removing the link, and then adding it back again. Can't wait to try that!
out.[!]()
(or whatever the exact syntax is) so that the link is not only embedded but also a clickable link to open the full version via a direct link.