Dear #Fediverse app devs (including the #mastodon web interface itself): PLEASE stop autocorrecting my #CamelCase'd hashtags into all-lower-case.

That's just silly. You should be autocorrecting lower case to camel case instead! Grab the list of all hashtags with the same letters without regard to case, and if there's a plurality of them with the same capitalization (not counting all-lower-case), suggest that. Duh! ;)

#Accessibility

edit: self-tone-policing. I come across a little too snippy.

@paninid

It's a very old convention. I first learned of it looking into Macintosh programming in the early 90s, but it goes back much further than that:

https://en.wikipedia.org/wiki/Camel_case

Camel case - Wikipedia

@paninid

In terms of #accessibility, I am told that screen readers can use #CamelCase as hints for how to break up conjoined words. And they're just easier to read in general, e.g.

#iamtheverymodelofamodernmajorgeneral

vs

#iAmTheVeryModelOfAModernMajorGeneral2 (Mastodon won't show the same hash tag twice, funny that)

@RL_Dane @paninid Truth.

Wrote this for the hell-site forever ago, but the example of mixed-case hashtags is true here: https://adrianroselli.com/2018/01/improving-your-tweet-accessibility.html#Hash

Improving Your Tweet Accessibility

Twitter persists. Even if you have moved to Mastodon, Twitter will persist. As such, we need to continue to ensure it is accessible to all users. This post gathers some tips you can and should use. Hashtags Emoji Unicode Image Alternative Text Embedding Alternative Text in a Tweet Web Interface…

Adrian Roselli

@aardrian @paninid

Wow. I knew it was bad, but that is seriously horrible.

@RL_Dane I just tried to update my #Moodle profile and add a picture and was informed I couldn't because my username had a capital (auntJames). So I dropped the case on the J... and was informed I couldn't update anything because that username was aready taken.

@geonz

Yikes. Nice race condition. :P

@RL_Dane I've learned to add a space after typing and they behave (mostly). It's annoying.

@steter

Yeah. I'm stubborn for not wanting an extra space. XD

@RL_Dane That's when I click away from the post. It's a pain, and I agree with you. It would be nice if it auto-capitalized (though for some languages, like German, it might not be so easy b/c many words are compound).

@steter

Yeah, auto-camelCasing would be challenging in many languages. But at the very least not autocorrecting to all-lower-case should be default.

@RL_Dane

Yup. Not a "major major" issue, but a constant minor annoyance, of the Microdoft "we know better (even if we don''t)" variety.

@RL_Dane

👏 👏 👏

Why should this even need to be said?? I second this - heartily!

@RL_Dane (Technically, that's #PascalCase not #camelCase... 😉 😛 )

@dheadshot

I think #PascalCase did come before it, yes.

@RL_Dane #PascalCase capitalises all the starting letters of words. #camelCase omits the first letter of the first word, for reasons best known to C++ gurus and no-one else...

@dheadshot

I thought it was more like #CamelCase and #dromedaryCase? :)

@RL_Dane I Haven't heard of the latter before?

@dheadshot

lol, me neither. Just saw it in the wikipedia article. I remember there being two different names for thisThing and ThisThing, but I forgot what they were called. ;)

Having messed with that before it's a tough call if you want to autocomplete. We do that in case-insensitive way, but replace using the case of the first match we found. (Seems silly to offer multiple matches for the same tag with different capitalisations). If you don't accept the autocomplete, we'll take your version.

Not sure how to improve on this, but if anybody has strong feelings I'm willing to listen.

@mikedev

What if you just leave the tag alone if it's the same as the #1 suggestion without regard to case?

Example:

(space after # because mastodon won't print a hashtag more than once, which is case-insensitive... hmmm!!!!)

I type # GoodDay
#1 match is # goodday
If tolower(mytag) == tolower(firstmatch), then leave_tag_uncorrected;

Yeah but we start auto-complete at Goo.  For what it's worth we also accept "good day" and leave camelCase for the dromedaries and PascalCase to the Pascal developers.

Maybe what we should do is match any case at all if you type in lowercase only and switch to exact case match if you provide any caps. That might make more people happy.

@mikedev

Kinda like smartcase in vim. That's not a bad idea.

@mikedev

The mean that hash tags can have spaces in them? How would that work?

Wrap it in double quotes. Most fediverse software displays multi-word hashtags correctly, even if they don't support the concept themselves. Alas, Mastodon does not.

@mikedev

Of course Mastodon doesn't.  🤦‍♂️

What can I do to help raise awareness for #accessibility issues in #fedi? I don't have any significant vision issues myself, but I have family and #FediFriends that do.

@RL_Dane as much as I'd like to keep #SuperbOwl shenanigans going there's RFC4151 to fix all this once and for all* https://en.wikipedia.org/wiki/Tag_URI_scheme
tag URI scheme - Wikipedia

@octarine_wiggle

How does it apply to hashtags? Or would it replace hashtags? Seems a bit convoluted; not sure I'm understanding howard is to be used from my reading of the article

@RL_Dane it's not in use anywhere relevant but you could have URI-backed hashtags look the same generally but in the backend would refer to a particular URI and sprinkle in a little magic UI to help the user choose the one they meant
@RL_Dane Snake case is much easier to read than camel case, though.

@tennoseremel

Ah, is that the one where the first character is lower case?

I'm fine with either one. As long as it's readable and works helps low vision peeps.

@RL_Dane Snake case is this_amusing_thing 

@tennoseremel

Ahh... That's a pain to type, though, although it DOES look better.

@RL_Dane
> PLEASE stop autocorrecting my CamelCase'd hashtags into all-lower-case

I second that.

You're not the first person I've seen expressing frustration about this. Maybe if we all open issues about it on the issue trackers of the apps we use, or add thumbs up to any existing ones, it might get fixed?

@RL_Dane @dustin Yep yep. CamelCase/PascalCase/TitleCase FTW.