WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Should URLs be in camel case like hash tags?

for

From: Jeremy Echols
Date: Nov 30, 2022 9:08AM


Probably also worth noting that if you're expecting users to manually enter URLs regularly, you don't want the path (the bit after the domain and first slash) longer than a single word anyway. And even then it would be a poor design choice. The only time I could think of asking users to type in a URL manually would be in a TV or radio ad, and again in those cases you want something very short and simple.

Power users may hack up URLs, but your everyday user should be able to get where they want without typing in a long URL.

Regarding the original question, my gut -- not any information I have, mind, but just my gut -- tells me the URL itself doesn't matter for accessibility purposes. For readability I personally prefer hyphenation between words in a URL path, but hopefully your links are only rarely being seen "raw". And if you do need to share URLs this way, I suspect the same thing applies that I mentioned above, where you want a short URL whenever possible, even if it's just a redirect to something longer.