Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Comments on Optional frames, borders or shadow around images

Parent

Optional frames, borders or shadow around images

+4
−0

Sometimes, images found in posts blend with the background. That can certainly look better than an image that stands out from the surrounding page, but every now and then, standing out is just what is needed. This can often be the case with screenshots of Codidact itself, where it's confusing when looking at a post with such a screenshot in it, and it blends with the rest. Having a frame, border or shadow around these images, can provide necessary clarity, and helps set content apart, giving a better overview. My latest post turned out to be rather unpleasant to look at with two screenshots of another Codidact question, so I followed a suggestion to put them in citations, to get a border around them. That's better, but it doesn't look pretty. It's not what citations exist for, so having another way to specify either a border or a shadow behind the image, would be nice. We don't necessarily need two options for either a border or shadow; we can decide on one of them.

I'm not sure what the best way to support this is, so I'm leaving suggestions for that up to answers.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

Element attributes (1 comment)
Post
+1
−1

We've updated the help here on Meta -- where most cases of potential confusion will arise -- to include the tip about using blockquotes. As noted in other answers, trying to add borders or shadows could introduce problems in some cases, so we're going to leave that in users' hands. As with other formatting or usage tips, we can educate new users with edits.

We're open to some sort of optional control that would add a border, so long as it's off by default (principle of least astonishment), if we can figure out what that should look like.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

Blockquotes are a misuse (5 comments)
Blockquotes are a misuse
Andreas witnessed the end of the world today‭ wrote 10 days ago · edited 10 days ago

We’re technically misusing a feature. We aren’t quoting an image, or quoting anyone with it (unless it’s for instance a screenshot of text, in which case it should be copied as text into a blockquote instead).

Have the accessibility issues that may arise from this been considered?

Leaving the option in the user’s hand was never something I advocated to abolish; in fact it’s a specific requirement for the feature request. It should be an opt-in feature, and by opt-in, I mean specified in the post body source, or post source metadata. The only real concern I see to decline this, is Trichoplax’s preference to not extend our CommonMark usage with anything, but quite honestly, that likely hinders our development in the future, and isn’t that good of an argument even, precisely because you likely wouldn’t be using the post source without the context of the wider Codidact system.

Monica Cellio‭ wrote 10 days ago

I understood the feature request to be for always adding it. If you meant we should have an option, I misunderstood. Currently that option is to use the quoting syntax; are you asking for something more first-tier, like a button in the editor or something like that? We've tried to avoid forking CommonMark, but a UI affordance of some sort that inserts the blockquote for you would make the option more discoverable. Is that what you're asking for?

Andreas witnessed the end of the world today‭ wrote 9 days ago · edited 9 days ago

I understood the feature request to be for always adding it. If you meant we should have an option, I misunderstood.

Yeah, you misunderstood. The title of my feature request begins with "optional"; that's the key.

Currently that option is to use the quoting syntax; are you asking for something more first-tier, like a button in the editor or something like that?

Yes, the feature request is explicitly asking for something other than using blockquotes. To quote my own post: "It's not what citations exist for, so having another way to specify either a border or a shadow behind the image, would be nice."

a UI affordance of some sort that inserts the blockquote for you would make the option more discoverable. Is that what you're asking for?

From my own post again: "I'm not sure what the best way to support this is, so I'm leaving suggestions for that up to answers." So, the exact implementation or UX isn't specified in the feature request.

Thanks for undoing the refused status! I could've probably been more active here to help clear up the confusion earlier on. Sorry about that.

Monica Cellio‭ wrote 9 days ago

All good. None of this is urgent, and now we understand each other.