对于非程序员用户来说,最好的用户体验是什么? 逗号分隔的标签还是空格分隔的标签?
我正在为教师(非程序员)创建一个社交网站,教师可以在其中添加事件、链接、练习、提示、课程计划、书籍等。
我希望他们能够在我们创建这些项目时添加标签。在 StackOverflow 上做。
然而,因为他们是非编程用户,我认为空格分隔的非空格标签和驼峰式标签会导致太多混乱,例如:
grammar teachingtips universityOfMinnesota phrasalverbs
事实上在 这个类似的 stackoverflow 问题大多数答案建议逗号如下:
grammar, teaching tips, university of minnesota, phrasal verbs
但后来我刚刚签名注册了一个 delicious.com 帐户(我认为该帐户没有以程序员为中心的受众),并发现他们也使用空格:
separate tags with spaces: e.g. hotels bargains newyork (not new york)
您在这一点上的经验是什么当前标签的用户体验趋势? 现在普通互联网用户是否已经习惯了空格分隔的标签?我必须承认,我在使用过的任何主要网站上从未见过逗号分隔的标签。 您是否找到了一种将它们组合起来的好方法,因此这根本不重要,例如:
grammar book reviews teaching tips
并且例如有一个快速算法来检查当前标签的数量:
grammar
grammar book
grammar book reviews
book
book reviews
book reviews teaching
...
I'm creating a social site for teachers (non-programmers) on which teachers can add events, links, exercises, tips, lesson plans, books, etc.
Each of these items I want them to be able to add tags to as we do at StackOverflow.
However, because they are non-programming users, I thought that space-separated, nonspace tags and camelCase tags would lead to too much confusion, e.g.:
grammar teachingtips universityOfMinnesota phrasalverbs
and indeed on this similar stackoverflow question most of the answers suggested commas like this:
grammar, teaching tips, university of minnesota, phrasal verbs
but then I just signed up for a delicious.com account (which I don't think has a very programmer-centric audience) and saw that they use spaces as well:
separate tags with spaces: e.g. hotels bargains newyork (not new york)
What has been your experience on this point in terms of the current UX trend for tags? Is the average Internet user accostumed to space-separated tags by now? I have to admit, I have never seen comma-separated tags on any major site I have used. Have you come upon a good way to combine them so it doesn't even matter, e.g.:
grammar book reviews teaching tips
and e.g. have a quick algorithm which checks the number of current tags for:
grammar
grammar book
grammar book reviews
book
book reviews
book reviews teaching
...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(10)
我个人会用逗号分隔。 您会注意到 Stackoverflow 没有,但标签被清楚地划分到它们自己的框中。 加连字符通常用于“间距”。 我想说,对于非程序员来说,空格比连字符更自然。
I'd go comma separated personally. You'll note that Stackoverflow doesn't but the tags are clearly delineated into their own boxes. Plus hyphens are often used for "spacing". I'd say spaces are more natural to non-programmers than hyphens are however.
逗号分隔似乎是最自然的 - 这是英语用来标点列表的方式。 如果需要,它还允许您在标签中包含空格。 人们会尝试进入
并期望它能够发挥作用。
我想不出使用空格的充分理由。
Comma separated seems the most natural - it's what English uses to punctuate lists. It also allows you to have spaces in tags if you want. People will try to enter
and expect it to work.
I can't think of a good reason to use spaces.
请注意,delicious 必须给出一个例子来演示如何按照他们的方式去做。 这不是一个好兆头。
如果您确实使用逗号,请注意查看“空间用户”是否容易发现他们犯了错误并修复它。
Notice that delicious has to give an example to demonstrate how to do it their way. That's not a good sign.
If you do go with commas, take care to see how easy it is for a "space user" to see that they made a mistake, and to fix it.
我会使用逗号分隔的标签,如果只是为了让用户免去必须使用引号来指示标签中包含空格的痛苦,即
网站“堆栈溢出”提示
或网站、堆栈溢出、提示
。 我知道我更喜欢哪个。I would go with comma separated tags, if only to save your users the pain of having to use quotes to indicate a tag has a space in it, ie
website "stack overflow" tips
, orwebsite, stack overflow, tips
. I know which I'd prefer.对于教育受众来说,逗号分隔是正确的选择。 这很直观。
大多数教师应该可以轻松理解标签以逗号分隔的系统,并且无需为短语想出一个尴尬的解决方法。
Comma-separated is the way to go for your educational audience. It's simply intuitive.
Most teachers should have no trouble understanding a system where tags are comma separated, and there is no need to come up with an awkward workaround for phrases.
这在一定程度上取决于标签的输入方式。 如果用户像 SO 提供的那样在键入时获得标签建议(智能感知的阴影),则空格分隔可能没问题。 但是,如果您要强制用户在没有参考列表的情况下输入每个标签,则接受不区分大小写的逗号(或分号)分隔标签可能会更容易。
It depends a little on how the tags are entered. If the user gets suggestions for tags as they type like SO provides (shades of intellisense), space separated is probably fine. However, if you are going to force the user to enter each tag without a reference list it may be easier to accept case-insensitive comma (or semicolon) delimited tags.
您不想检查所有这些可能性,除非您要严格限制可能标签的数量 - 这是一个
O(n!)
算法,您很可能不希望这样您的服务器上的额外负载。你最好的选择可能就是坚持使用一种选择——用户会(应该!)很快就习惯它。 空格作为分隔符可能是最常见的,所以我会选择这种分隔符,因为它是用户最有可能事先接触过的分隔符。
You don't want to check all those possibilities unless you are going to severely limit the number of possible tags - that's an
O(n!)
algorithm, and you most likely don't want to have that extra load on your server.Your best bet is probably just to stick with one option - the users will (should!) get used to it fairly quickly. Spaces as separators are probably the most common, so I would go with that, since it is the one the users are most likely to have had prior exposure to.
只要软件接受/要求的内容很明确,我认为用户都会对此感到满意。 当他们不知道是否使用逗号、分号、空格或...时,就会感到困惑。
如果您使用多个电子邮件客户端,您就会知道一个简单的工具提示提醒是逗号还是空格有多么有用。输入多个收件人时。
As long as what the software accepts/demands is clear, I think users will be happy with either. Confusion comes when they don't know whether to use commas, semicolons, spaces or...
If you use a number of e-mail clients you'll know how useful a simple tool-tip reminder of whether it's commas or spaces would be when entering multiple recipients.
标记时,如何设置取决于您要标记的内容类型。 难以索引的媒体(例如图片、音频或视频)应该鼓励使用多种不同的标签,因为标签是您搜索内容的方式。
易于索引的内容(文本!)应该使用非常严格的标记结构,因为您不需要依赖标记来进行搜索索引。 相反,标签的目的是将内容分类到明确定义的类别中。 标签应该更像标签或文件夹。
我会在这里猜测,这些内容将主要是基于文本的,偶尔会插入图片或视频文件。因此,您不需要逗号或空格分隔的标签条目,而是需要某种机制来强制用户从现有的一组标签中进行选择。
When tagging, how you set it up depends on what kinds of things you will tag. Media that is hard to index, like pictures, audio, or video, should encourage many and varied tags, because the tags are how you will search the content.
Easily indexed content (text!) should use a very rigid tagging structure, because you don't need to rely on tags for search indexing. Instead, the purpose of tags is sort the content into well-defined categories. Tags should be more like labels or folders.
I'm gonna take a guess here that this content will be mostly text-based, with the occasional picture or video file thrown in. So you don't want either comma or space separated tag entry, but rather some mechanism that forces users to pick from an existing set of tags.
我会假设标签以空格分隔,除非有一个或多个逗号,在这种情况下,您应该用逗号分隔。 换句话说,支持两者,但方式有限。 您大概可以猜对 90% 以上的时间。
I would assume space separated tags unless there are one or more commas, in which case you should split on commas instead. In other words, support both but in a limited way. You can probably guess right 90+ percent of the time.