windows:Commands/ribbons/design-concepts

出自UXGuide.net

跳转到:导航, 搜索

功能区:设计理念
Ribbons: Design Concepts

目录


这样的用户界面是否正确?

考虑下列问题以进行判断:

程序类型

可发现性及学习问题

命令特征

命令规模

最后,考虑这个根本问题:与在可发现性、易学习性、效率及生产力方面的提升相比,使用选项卡组织命令所需的额外空间是否值得?如果值得,则使用 Ribbon 绝对是好的选择。如果你不能确定的话,可以考虑使用可用性测试来对基于 Ribbon 的设计和最佳的替换设计进行比较。

Ribbon 是一种新的迷人的命令呈现方式,也是程序现代化的重要方式。但与其绚丽的外表不同,它并非所有程序的最佳选择。

错误:

Cc872782_Ribbon02(en-us,MSDN_10).png
请不要这么做!

设计理念

将 Ribbon 应用于已有的程序

While you might simply refactor a traditional menu bar and toolbar design of an existing program to a Ribbon format, doing so misses most of the value of using a Ribbon. Ribbons have the most value when used to present immediate, results-oriented commands, often in the form of galleries and live previews. Results-oriented commands make commands easier to understand and users much more efficient and productive. Instead of refactoring your existing commands, it's better to redesign completely how commands are performed in your program.

Don't underestimate the challenge of creating an effective Ribbon. And don't take for granted that using a Ribbon automatically makes your program better. Creating an effective Ribbon takes a lot of time and effort. Being willing to commit the time and effort required for such a command redesign is an important factor in deciding to use a Ribbon.

For more information about migrating commands to a Ribbon in an existing program, see Ribbon Design Process.

Ribbon 的自然特性

Compared to traditional menu bars and toolbars, Ribbons have the following characteristics:

By presenting most commands with labeled icons, Ribbon commands are both visible and self-explanatory, and use tooltips only to provide supplemental information. There's little need to go elsewhere (such as Help) to understand a command.
By organizing commands in labeled groups, Ribbons make it easier to find commands and determine their purpose.
Ribbon commands require more space than toolbar commands, so they use tabs to scale. This use of tabs makes Ribbons modal, requiring users to change modes occasionally to find commands. However, within a tab most commands are either direct or use a single split button or menu button, not a hierarchy.
By contrast, Ribbons provide enhanced keyboard accessibility through keytips, usually with a three-step process:
This approach is highly visual. It is also more flexible, allowing it to scale better and to have more mnemonic access key assignments.
不要把访问键与快捷键搞混。虽然访问键和快捷键都是为用户界面提供键盘访问,但他们具有不同的用途和设计规范。更多信息,参见键盘


富命令的自然特性

Rich commands refer to the presentation and interaction of commands used by Ribbons, without necessarily using a Ribbon container. Rich commands have these characteristics:

Correct:
Cc872782_Ribbon17(en-us,MSDN_10).png
These commands are extremely well known so they don't need labels.
Incorrect:
Cc872782_Ribbon18(en-us,MSDN_10).png
These unintelligible icons require labels for rich commands.
Cc872782_Ribbon19(en-us,MSDN_10).png
In this example, the most frequently used button is larger than the others.
Cc872782_Ribbon21b(en-us,MSDN_10).png
Cc872782_Ribbon21a(en-us,MSDN_10).png
In this example, the command buttons resize to work well in the available space.
Cc872782_Ribbon22(en-us,MSDN_10).png
In this example, the Save As command uses a split button, where the main button performs the most common variation and the menu portion reveals a menu with variations of the command.
Cc872782_Ribbon23(en-us,MSDN_10).png
In these examples, clicking a menu button displays a list of choices that show their effect.
Cc872782_Ribbon24(en-us,MSDN_10).png
Live previews show the results of applying a formatting option on hover.
Cc872782_Ribbon25(en-us,MSDN_10).png
Enhanced tooltips concisely explain their associated commands.

While Ribbons might not be suitable for all programs, all programs can potentially benefit from rich commands.

Ribbon 总是包含应用程序按钮和快速访问工具栏

The Application button and Quick Access Toolbar provide commands that are useful in any context, thus reducing the need to change tabs. While these three components are logically independent, a Ribbon must always have an Application button and Quick Access Toolbar. Given that commands can go in either the Ribbon or the Application button, you might be wondering where to place commands. The choice is not arbitrary.

The Application button is used to present a menu of commands that involve doing something to or with a file, such as commands that traditionally go in the File menu to create, open, and save files, print, and send and publish documents.

By contrast, the Ribbon itself is for commands that affect the content of the window. Examples include commands used to read, modify, or use the content, or change the view.

If you use a Ribbon, you must also use an Application button even if your program doesn't involve documents or files. In such cases, use the Application button menu to present commands for printing, program options, and exiting the program. While arguably the Application button isn't necessary for such programs, using it provides consistency across programs. Users don't have to hunt for save and undo commands or program options because they are always in the same place.

The Quick Access Toolbar is required even if the Ribbon only uses one tab. Again, while arguably such programs don't need a Quick Access Toolbar (because all the commands are already present on the single tab), having a customizable Quick Access Toolbar provides consistency across programs. For example, if users are in the habit of clicking the Print command, they should be able to do so in any program that uses a Ribbon.

但应用程序按钮可以离开 Ribbon 单独使用

Some programs such as document viewers or browsers use files but have few commands that modify their content. Alternatively, they may have a few content-related commands that are better presented inline. In such cases, rather than use a menu bar, toolbar, or Ribbon with little or nothing in them, you can use an Application button for the file-related commands.

On the other hand, never combine an Application button with a menu bar or toolbar. Such combinations result in unnecessary inconsistency in command models.

Incorrect:

Cc872782_Ribbon30(en-us,MSDN_10).png

In this example, an Application button is used incorrectly to replace the File menu.

组织与可发现性

By providing tabs and groups, Ribbons allow you to organize your commands to aid discoverability. The challenge is that if the organization is done poorly, it can greatly harm discoverability instead. There should be a clear, obvious, and unique mapping between your commands and the descriptively labeled tabs and groups where they reside.

Users will form a mental model of the Ribbon after using it for a while. If that mental model doesn't make sense to users, is inefficient, or is incorrect, it will lead to confusion and frustration. Your most important goal in designing a Ribbon is to facilitate finding commands quickly and confidently. If you do not accomplish this, your Ribbon design will fail. Achieving this goal requires careful design, user testing, and iteration. Don't assume that it will be easy.

Here are some common pitfalls to avoid:

Cc872782_Ribbon31(en-us,MSDN_10).png
In this example, you can change paragraph borders through the Page Borders command, even though there is a more direct path on the Home tab. If users looking for paragraph borders were to stumble across this unexpected path, they might easily assume that it's the only path.

选项卡

The best first step is to review the standard Ribbon tabs. If your program's commands map naturally into the standard tabs, base your tab organization on these standards. On the other hand, if you program's commands don't map naturally, don't try to force it. Determine a more natural structure, and be sure to perform a lot of user testing to make sure that you've got it right.

For non-standard tabs, consider these issues:

The Home tab is an exception to these considerations. While you don't have to have a Home tab, most programs should. The Home tab is the first tab, and contains the most frequently used commands. If you have frequently used commands that don't fit into the other tabs, the Home tab is the right place for them.

If you can't determine a meaningful, descriptive tab name, it is probably because the tab isn't well designed. If your Ribbon organization just isn't working, reconsider your tab design.

分组

Dividing commands into groups structures the commands into related sets. The group label explains the common purpose of its commands.

There are a variety of factors to consider when determining groups and their presentation:

If you can't determine a meaningful, descriptive name, it is probably because the group isn't well designed.

预览

You can use various types of previews to show what will result from a command. By using helpful previews, you can improve the efficiency of your program and reduce the need for the trial-and-error learning approach. Live previews also invite experimentation and encourage creativity.

Here are some of the different types of previews that you can use:

Live previews are a powerful feature that can really improve your users' productivity, but even simple static previews can be a big help.

Ribbon 缩放

Scaling a toolbar is simple: if a window is too narrow to display a toolbar, the toolbar displays what fits and makes everything else accessible through an overflow button.

Cc872782_Ribbon45(en-us,MSDN_10).png
Toolbars scale using an overflow button.

A goal of rich commands is to take full advantage of the available space, so scaling a Ribbon requires more design work. There is no default Ribbon size, so you should not design a Ribbon with a particular width in mind. You have to design layouts with a wide range of widths and realize that any one of them could be the one most of your users will see. Scaling is a fundamental part of Ribbon design, not the last step.

Cc872782_Ribbon46(en-us,MSDN_10).png
There is no default Ribbon size. The smallest size is a single pop-up group icon.

When designing a tab, specify the different layouts for each group (up to three) as well as the combinations that can be used together. The Ribbon will show the largest valid combination that fits the current window size.


If you do only seven things...

  1. Choose a command solution that is suitable for your program type. Using a Ribbon should make a program feel simpler, more efficient, and easier to use—never the opposite. If using a Ribbon isn't appropriate, consider using rich commands instead.
  2. Don't underestimate the challenge of creating an effective Ribbon. And don't take for granted that using a Ribbon automatically makes your program better. Being willing to commit the time and effort required for a command redesign is an important factor in deciding to use a Ribbon.
  3. Make the commands discoverable. Choose a tab design that has a clear, obvious, unique mapping between your commands and the descriptively labeled tabs where they reside. Users should be able to determine quickly and confidently which tab has the command they are looking for, and rarely choose the wrong tab.
  4. Make the commands self-explanatory. Users should understand the effect of a command from its label, icon, tooltip, and preview. They shouldn't have to experiment or read a Help topic to see how a command works.
  5. Make using the commands efficient:
    • Users should spend most of their time on the Home tab.
    • Users should rarely have to change tabs during common tasks.
    • When the window is maximized and users are on the correct tab, the most frequently used commands have the most visual emphasis and users can invoke them with a single click. Users can perform all other commands on the tab with at most four clicks.
    • Users shouldn't have to open dialog boxes to give commands and change attributes in common tasks.
  6. Help users choose commands and options confidently and minimize the need for trial-and-error. Use results-oriented commands whenever appropriate, often in the form of galleries and live previews.
  7. Make sure the Ribbon scales well from the largest window sizes to the smallest.


注释与引用

  1. ^ 根据 Microsoft Office 2007 简体中文版网站的相关说明,Gallery 被称为“库”。为避免歧义,本文将称其为 Gallery。
  2. ^ 根据 Microsoft Office 2007 简体中文版的翻译,Home 选项卡被称为“开始”,为避免歧义,本文将称其为 Home 选项卡。
导航
工具箱