postmarks icon indicating copy to clipboard operation
postmarks copied to clipboard

Tag names need validation

Open andypiper opened this issue 2 years ago • 3 comments

Postmarks happily allowed me to type a tag name of "developer relations" with a space, showed #developer relations in the UI, but then reported an error about the format of the tag when I hit save. It would be better to validate and/or force the entry of compliant tag names.

andypiper avatar Sep 07 '23 22:09 andypiper

thanks Andy!

ckolderup avatar Sep 07 '23 22:09 ckolderup

I’d also suggest normalisation (potentially to lowercase).

andypiper avatar Sep 08 '23 15:09 andypiper

I think we want to allow mixed-case, I've heard it's an accessibility issue (it's come up a few times on Mastodon, but this source seems to cover the main points I've seen discussed: https://www.boia.org/blog/make-your-hashtags-accessible)

ckolderup avatar Sep 08 '23 17:09 ckolderup