boost to pet the cat
__
     />  フ
     |  .  . l
     /` ミ_xノ
     /      |
    /  ヽ   ノ
    │  | | |
 / ̄|   | | |
 | ( ̄ヽ_ヽ)__)
 \二つ
@wizard sorry I'm not gonna include boost just for that. We have a std:: function for that since c++17.
std::pet(cat)
@muhlinus
There should be a template in the STL for petting other types of animals 😆
@wizard
@wizard I'm a simple internet citizen. I see a cat, I pet it.

@wizard @meganeko I can’t bring myself to do that for ASCII art, because it’s inherently inaccessible to users of screenreaders

(It’s a nice ASCII art picture of a cat though)

@transponderings @wizard @meganeko

This is a wonderful point that never occurred to me. Does, or can there, exist a feasible way to make ASCII art accessible.. (other than providing accompanying descriptive text?) that replicates the feel of ASCII art?

@keithjones @wizard @meganeko Here’s an #accessible example:

A picture of a horse sitting in a cloud

(That’s just using characters in the #ASCII range, and seems pretty clear to me 😉)

@transponderings @keithjones @wizard @meganeko That's a beautiful picture but isn't accessible to people with aphantasia
@blahbah @keithjones @wizard @meganeko Fair point (speaking as an aphantasic myself)

@keithjones @transponderings @wizard @meganeko Descriptive text could be unconstrained from media uploads.

But that presents a wild vector for hidden text to be injected into posts. Might be better to have a text-based media embed solution. Why couldn’t a plaintext file be attached to a post? Then described just like an image and previewed if requested and compatible. That could give us CSV tables within posts too.

@olivierlacan @keithjones @transponderings @wizard @meganeko

Why not have alt/context/description available for the whole post? imagine a particularly biting sarcasm that would be ruined if explained in the post, but an alt of "biting political sarcasm" makes it clear. This is also a specific accessibility feature for those who sometimes have a hard time understanding without context. #neurodivergence

@keithjones @transponderings @wizard @meganeko I suppose the web could adopt a MIME type for blocks of text separated from the rest of the DOM contents, and then sites like Mastodon instances could support embedding that MIME type into Toots. By default, a screen reader could announce the text content along with metadata specified in the chunk (like font or color info), and users could optionally over-ride the default for announcing things like ASCII art.

@keithjones @transponderings @wizard @meganeko

The best way I've seen — and oh so simple! — is to just share a screenshot of it instead of the actual text, and then add alt text to the image :)

@keithjones @transponderings @wizard @meganeko the "feel" of ASCII art being minimalism? Simplicity? Reductionist? It mostly depends on the viewer I think.

There is a way to make it accessible though, but it's a bit involved: make a screenshot of the ASCII art to share, and add alt text appropriately.

Without that, CW it so people with screen readers can skip it if they want to, because it'll be read as random strings of punctuation

@keithjones @transponderings @wizard @meganeko best would be to CW it to be skippable at least
aria-hidden - Accessibility | MDN

The aria-hidden state indicates whether the element is exposed to an accessibility API.

MDN Web Docs
@keithjones @transponderings @wizard @meganeko You can make the ascii art, take a screenshot and add alt text to it!
@keithjones @transponderings @wizard @meganeko
Late reply from me regarding #accessibility of character art, e.g.:
1. If you are in control of the HTML you can hide the art for #ScreenReaders and let them speak an alternative text. Unfortunately this doesn't work in social media.
2. Give a descriptive line before the art, like: Below is an #AsciiArt of a cat.
3. Post a real image (screenshot) of the art and add an alternative description.
@keithjones @transponderings @wizard @meganeko make the regular ASCII art, screenshot it, post the screenshot with proper descriptive alt text. Done!
@transponderings @wizard @meganeko
I didn't think about it being inaccessible to screen readers and boosted before I saw your reply. I will keep that in mind. I do agree it is cool!
@wizard I'm totally gonna steal this 😻

@wizard

A____A
|・ㅅ・|
|っ c|
|   |
|   |
|   |
|   |
|   |
U ̄ ̄U

@wizard I'm in. I feel I must post my 2 new kittens when I pick them up on the weekend.

@wizard @gossithedog ... you reblogged an ascii cat from a year ago...

are you hunting for ascii cats? or did you just wander around until one crossed your path 😏

@wizard question: are we attempting to pet on the stomach? Please advise.
@wizard ah, the early days of the Internet with ASCII art... Can we bring gopher back?
@wizard which one is "skritch around ears"
@wizard this is the wholesome content I can get behind
@wizard
Cat didn't give me anything back. Typical cat.
@wizard we want to pet the cat thank you
@wizard reminds me a lot of this little gentleman 🙂 #loki
@wizard boosting unnecessary, petting with cursor
@wizard I'm not a cat person yet I boosted the post just for the art.
@wizard Impossible not to.