Hi everyone,

If you are using hastags with multiple words, please use camel case.

#LikeThisExample

Not #likethisexample

Why?

A) Screen readers will see a bunch of letters that doesn't make one word and read out each individual letter. Which makes it hard to understand.

B) For us sighted people, it is also easier to read.

Thanks you

#TheForkiverse

@print

If you voice-to-text your hashtags, it will automatically camel case them for example, if you say "hashtag camel case", it will render "#CamelCase" so even if you are typing, if you have a lot of hashtags, voice to text streamlines the process.

But you have to be sure to stop voice texting if you're going to continue adding text after saying "hashtag" because #ItWillNotKnowWhenToStopAndMakeTheEntireRestOfYourSentenceIntoOneLongCamelCase
#AskMeHowIKnow 😆

@print
RE: B) and sighted folks

I couldn't agree more!

@print #IceCubes client "helpfully" coverts the hashtags down to all lower cae.

@d1

Tusky tries to do the same. Have to force it.

@print @d1
Official Mastodon app (and website, iirc) too… seems to be the norm.
@libewa @print @d1 please don't @ me if I'm wrong, but are these all keyboard issues? #gboardalternative #gboard
@print @d1 it depends on what the server offers as continuation which is apparently the first version the server has seen.

@print

I always thought it was

#camelCase

and your example was

#PascalCase ?

@crabby
Wikipedia calls the example as Pascal case or upper camel case.

Your example with initial lower case is a example of lower camel case or dromedary case.

I guess we are both correct and I have learnt something.

Either way is better than all lowercase.

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

Camel case - Wikipedia

@print
@crabby

Technically it is camelCase and PascalCase, yeah, but:

- CamelCase is pretty self-evident, where PascalCase relies on obscure programming language trivia to even begin making sense.

- It'll require WAY more explanation to understand the difference between camelCase and PascalCase, and even that there is a difference, than getting the point of CamelCase.

- For this CamelCase is actually preferred to camelCase.

- We're discussing ACCESSIBILITY, not programming conventions and history. And making that distinction is about as inaccessible as it gets. 🥴

·

Take this for somebody with quite a pedant vein as well: just say/use CamelCase and forget the mess, being "correct" here is of no use.

Or consider camelCase and CamelCase different words, if it helps. 😜

@yenndc @crabby
"The earliest use of the name "Camel Case" occurs in 1995, in a post by Newton Love. "With the advent of programming languages having these sorts of constructs, the humpiness of the style made me call it HumpyCase at first, before I settled on CamelCase. I had been calling it CamelCase for years. ... The citation above was just the first time I had used the name on USENET."[
The term "Pascal Case" was coined in design discussions for the .NET Framework, first released in 2002

@print
@crabby

Even more reason for CamelCase then! ^~

Pretty sure both of them are older; but since I have no reference to back it up I'll just leave it there. :3

@crabby @print

I've always been a fan of #UpperCamelCase and #lowerCamelCase (with camel case just meaning either one depending on context) since those are way more self evident terms

@print @alice I do this every time and it annoys me when people don’t. It’s not hard and makes a world of difference. 👍
@print what does it do with snake case #are_these_read_as_separate_words ?
@ChuckMcManis @print
I tried it with iOS built in TTS. It can read it out ok.
Interestingly it can also read out the all lower case hashtag properly. Although with a slight change on stress in "example".
I guess you'd need to see what commonly used screen readers read out.
@ChuckMcManis @print
Also probably pure chance. It didn't really cope with @alice 's examples.
@print The people who keep pointing fingers at me for not adding ALT text to all my photos are the same people who never use capitals (camel case) in their hashtags. 🤷‍♀️

@HeyLaiverd

Yeah, I haven't had thise people for a while, they don't seem to have a problem with my posts anymore, because they are blocked.

People are free to use Mastodon etc how they want. People forget, have other stuff going on or trying to do stuff on phone keyboards. And that is ok. Been there myself.

This instance has a large amount of new people, so trying to educate and make it a normal. Which encourages others to use camel case and alt text as the default.

@print
OP was slightly ambiguous on A).. So do screen readers understand upper camel case and read out the words nicely? If not then are you indirectly saying it changes nothing for them?

@print

B for me. Camel case pleases my #ConanTheGrammarian instincts as opposed to the #horriblesplurgeoflowercase abominations.

@riggbeck @print

A pedant writes...

thisIsCamelCase and
ThisIsPascalCase.

@Walrus @riggbeck

medial capitals:

Pascal case = upper camel case

There is also dormadary or lower camel case.

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

Camel case - Wikipedia

@print

Agreed

Depending on the instance you're on this likely *Does* require purposeful intent though..

I.E. people are being tricked into "doing the wrong thing" by the auto complete popups (for hashtags) that are supplied from their instance's server(s)

"The system" defaults to showing you "auto complete" hashtags and the auto complete versions are almost always in lower case. So, if someone selects the system supplied suggestion.. they get "the bad result"

@print but camel case would actually be #likeThisExample

No caps on first letter.

@JaxxAI

According to Wikipedia,, and the person who invented the term. it is correct.

@print the case you are using is called PascalCase. True camelCase has the first letter as a lower.

@JaxxAI

Incorrect.

It is camel case.

In particular upper camel case.

There is upper and lower canel case.

While aome people might call it PascalCase. That term did not enter usage until about 5 years later with .NET documentation.

@JaxxAI

"The earliest use of the name "Camel Case" occurs in 1995, in a post by Newton Love. "With the advent of programming languages having these sorts of constructs, the humpiness of the style made me call it HumpyCase at first, before I settled on CamelCase. I had been calling it CamelCase for years. ... The citation above was just the first time I had used the name on USENET."[
The term "Pascal Case" was coined in design discussions for the .NET Framework, first released in 2002"

@print What you pasted there is straight off ChatGPT. Not a great. I was doing dev work in the 90s, we were using the terms back then. camelCase is what we were using in coding, PascalCase was what we used in Pascal in the late 80’s. The term UpperCamelCase came along as people didn’t like the lowercase letter at the start due to acronyms in variables. camelCase is and always was a lowercase letter at the start, UpperCamelCase is a different type which was NOT mentioned in your original posting.

@JaxxAI

No you weren't.

Read all and learn.

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

Camel case - Wikipedia

@JaxxAI

As for the accusation of using aa cheat machine, you might want to browse my timeline.

@print I have lost interest in you and your timeline. I don’t like people posting and quoting chunks of text from ChatGPT at me, it’s actually quite rude. I’ll bid you farewell, I’ve written hundreds of thousands of lines of code back from the early 90’s and I know and remember the true history of this having had it drummed into me as a junior engineer.

@JaxxAI

You are not the only one who wrote Pascal in the 90s

Reed the Wikipedia link, or stay ignorant.

@print I think you won't find a single post without camel case hashtags in my profile 😉

And if you're wondering "Why not #snake_case_hashtags though? They work just as well."
Yeah, they even work better since you can capitalize letters and single-letter words don't make it weird, but you will never convince the majority to switch, so just give up and join them. 😛

@print

@print I use snake when there are more than 3 small words. I use Pascal otherwise. Camel is okay with two words.
@Tooden @print But are they equivalent? Is #thisTag the same as #this_tag? I don't think they are.

@khleedril @Tooden @print They show up as separate tags.

Only thisTag, thistag and ThisTag are identical.

@print ah, sorry, I had been originally misinformed that #'s worked best all in lower case.. I will try rewire my behaviour!
@print good for instance moderators also to keep in mind, when you're moderating trending hashtags :)
@print Thank you, I didn't know that it would make it easier for screenreaders.
@print Do the tags get listed as different if using caps?

@print

TIL, thanks for the tip 👍

@print Actually I can’t think of anyone who wouldn’t benefit from writing hashtags this way.

@print Check - I'll (do my best to) remember it.

But gotta admit - I was mostly clicking to see how many Pascal vs. Camel mentions :D

@print ... as anyone who remembers getting their software development tips from a site about experts doing sex changes will remember from the Olde Webbe.
I can see fine so i truly don't know.... how would you like to get #randomshit expressed on the #fediverse, with camel case like #RandomShit or like the former variant?
@print I always did. Because OCD.
@print So you think catering only to Java audience and leaving python community out is okay? #snake_case_justice

What about hyphens? Wafrn allows you to use spaces in your hashtags, and replaces them with hyphens for apps that can't use spaces.
As to using the proper case, that can be a bit tricky, I've had Friendica override my capitalization for whatever one is in its memory even if'n I've never used it before.


#Like-This-Example #Friendica #Wafrn
@chuff @print That's why commas are used
@print how do screen readers react to modern abbreviations like til for "today I learned"? Is it better to have them as all caps, all lowercase or mixed?
@print The only reason I've used lowercase hashtags is because all the different Mastodon clients I've tried (four or five) always correct you if you try "case mixing". I have a feeling that changing that behaviour (if possible) is probably going to make the biggest impact.