When you write hashtags that contain multiple words, make the first letter of each word a capital letter, for example #DogsOfMastodon. This will make the tag readable to blind people.

Blind people use the internet through screen reader apps, which read text out aloud. By putting a capital at the start of each word in a hashtag, you are telling the screen reader how to say the tag correctly.

In the non-techy world this is generally known as "CamelCase".

(Techy people may call it PascalCase)

p.s. Before any programmers chip in, I know that there's "camelCase" in programming, but that doesn't get across that every word should be capitalised.

"CamelCase" is the easiest to remember and clearest in its intent. I know it's not an accurate term in programming, but this post is aimed at non-programmers doing non-programming tasks.

@feditips oh, so what happens if I write without a capital at the start?

@Loukas @feditips

For a screenreader it shouldn't make a difference...

@Loukas
Practically, there's no difference.

camelCase/dromedaryCase and UpperCamelCase/PascalCase are mainly distinguished in programming style guides and naming conventions.

Hence, the clarification before someone eventually brings it up, just to be 🌟smart🌟 about it.

Long story short: Just use capitalization in hashtags.

@feditips

@feditips This would be considered Pascal Case :) - capitalizing the first letter of every word.
@feditips The right convention would be anyway to call it β€œCamelCase” if the word start with a capital letter and β€œdromedaryCase” if it does not. 🐫
@feditips I often see PascalCase referred to as CamelCase and camelCase like that referred to as backCamel, and I've been largely going by that convention (e.g., CamelCase for class names, backCamel for class members, at least in C++)

@feditips

I truly thought that it was not necessary to capitalize the initial letter of the string. Why is it necessary to capitalize the initial letter if the idea is to indical separate words through using capitalization?

I'm not a programmer, FWIW, but camelCase is perfectly understandable, as is PascalCase.

@Leisureguy @feditips
Right, the first character does not need to be capital. Mastodon appears to be case insensitive, and I believe screen readers work fine with either way
@feditips β€œWell, ackshully… <spews forth a bunch of Perl code>”
@jeff @feditips I like how you managed to sneak good old FORTH in there… 😬
@jeff @feditips I fell asleep on my keyboard and the results parsed pretty good, so I guess I'm a Perl programmer now?
@feditips sounds like you recently encountered a good load of *splaining

@supergrobi

Every single time I have posted about this, it has turned into a thread about 1990s programming language conventions 😁

@feditips maybe we should just turn every post into a thread about 1990s programming language conventions!
@kkeller @feditips and it isn’t about language conventions but accessibility.
@feditips wait, don't I hear a nuance here that disapproves of "languages of the nineties"?!
Java is very much alive, thank you for asking!!11!!
@feditips As an experiment, I'd suggest just leaving out the part about what it's called. See what that causes
@supergrobi @feditips
Well, if you want people to do A, but you tell them to do B, they're gonna do B, cos that's what you said to do.

@feditips
If you tell tech people to use camelCase (note the hump in the middle from the lone capital) then they'll literally never capitalise the first word, because that's precisely what it means! If you tell people to use camelCase then you'll get the exact opposite of what you're actually asking them to do.

"clearest in its intent" - yes, it specifically means DON'T capitalise the first word. That's where it's name comes from! If you don't wanna use "PascalCase" then call it something else

@feditips I like to call it "UpperCamelCase" because it's more easily understood than "PascalCase".

Also, thanks for the tip! I hadn't considered that the first word should also be capitalized.

@feditips I hear that pattern often referred to as "Title Case"
@plaidphantom @feditips same here, TitleCase and camelCase!
@feditips
I think the buried lede is that mastodon doesn’t understand underscores (β€œ_”) in hashtags.
Why not? This really should be fixed.
@feditips it’s ok, we aren’t consistent with it either
@feditips Pascal case just doesn't convey the imagery the way camel case does
@feditips Programmer here. To me it has always been CamelCase and snake_case. Never heard of PascalCase. According to Wikipedia the insistence on a lower case version of CamelCase comes from people in Microsoft. You see the same cultural divide with people insisting on pronouncing SQL as "sequel" instead of "es-queue-el" or pronouncing Linux as LIE-nix with a long i instead of a short i. I don't think you are wrong even in tech circles - you are just triggering a small but vocal group of people.

@feditips ProperCase is the term I use for this.

And now I owe you 2 cents. πŸ‘πŸ»πŸ˜‚

@feditips #KermalCase: because if you don't use it, a social justice Young Turk will show up to explain to you why you should, and you'll deserve it.
@feditips Thank you for that I've never been sure how to handle it. I usually just break the multi-word out into its sub words and make each a hashtag (e.g. #camel #case) but that's not ideal either.
@feoh @feditips The #CamalCase also makes it easier to find hashtags eg #BooksOfMastodon or #DogsOfMastodon then you can follow the hashtag to keep up with what's going on.
A good way to connect with other people of same interests or hobbies.
@feditips
What about placing underscores between the words of a multiword hashtag β€” is that any better/worse? πŸ€·πŸ½β€β™‚οΈ

@TimMaddog

Unfortunately hyphens and underscores don't work in hashtags on the Fediverse, so it's best to stick to CamelCase.

Mastodon 🐘

A general-purpose Mastodon server with a 500 character limit. All languages are welcome.

Mastodon hosted on mstdn.social
@feditips I do not put #s in ALT. Are you advising whether ALT or not use the CamelCase?

@Mallulady

It's nothing to do with alts.

This is for hashtags in the actual post itself.

So, if you're tagging a post, make sure that the first letter of each word is a capital letter.

@feditips I thought it was camelCase and what you're describing is just PascalCase or UpperCamelCase

@feditips I thought there was a difference in that Pascal case capitalizes the first word of the string and camel case does not:

https://www.theserverside.com/answer/Pascal-case-vs-camel-case-Whats-the-difference

I use camel case, though if the first word is a proper noun (e.g., "Mastodon" as the name of what we're on), I capitalize it. Thus I would write "PascalCase" but "camelCase."

#PascalCase #camelCase

Pascal case vs. camel case: What's the difference? | TheServerSide

The difference between Pascal case and camel case is minor, but not knowing your variable naming conventions can land you outside of code compliance.

TheServerSide.com

@Leisureguy @feditips my coworkers have called it StudlyCaps.

snake_case, kebab-case, camelCase, StudlyCaps, SCREAMING_SNAKE_CASE

@feditips It's not just sight-impaired users will benefit from doing this :D
@feditips Mastodon and apps need to better understand this use case, and stop suggesting down cased hashtags. So annoying to get it righ, only to have autoincorrect it.
@feditips A good way to remember which is which (because they are not the same) is if the case begins with an uppercase, as in Pascal case, that's when the first word, and every subsequent word afterwards is uppercase. Camel case on the other hand, starts with a lower case word, and has every subsequent word uppercase. PascalCase vs. camelCase.

FYI both of them work with screen readers, the casing of the initial word in a hashtag does not matter, but subsequent words should be capitalised for best results.
@feditips
Camel case is easier for *everyone* to read. And avoids the kind of embarrassment that happened to the people of Pen Island:
#penisland
@feditips Thank you so much for highlighting this. Many of us are grateful.
@feditips If someone uses the term PascalCase, they are retiring within five years

@feditips

I am amazed how many toots don't do this, even well-known users like Neil Gaiman don't do it.

I'm new to all this # use, but I was told to use capitals so that's what I do.

@feditips ah Pascal. Good memories

@feditips When I'm approving new trending hashtags on page.lgbt, I always try to remember to change the display name of multiple-word tags to use PascalCase whilst I'm at it.

It doesn't force people to use it, but it does mean that the dropdown menu which appears when you start typing a hashtag will show them in PascalCase correctly, and if you click on one from that list to insert it, it'll insert it with the correct capitalisation. So hopefully it encourages people to follow that style of capitalisation when writing their own.

@feditips Thanks for that great idea (who may it concern or find out),to inform people and asking for make human beings being include πŸ‘Šβ€οΈ
@feditips she volunteered to share her photo just in case someone followed the #dogsofmastodon hashtag and expected to see a dog