Web UI Style Guide
Web UI Style Guide
com http://aldencase.com
Alden Case Enterprise, Inc. 2035 Belmont Avenue San Carlos, CA 94070-4611 phone: (650) 592-4675 email: ccase@aldencase.com http://aldencase.com
Introduction Guidelines for Minimum Computer Configuration Minimum hardware and operating system Minimum browser Minimum screen size Guidelines for User Interface Elements Accessibility Alt text tags Buttons Colors Copyright statement Error Messages Filter Controls Fonts (see Text) Form Fields
1 1 1 1 2 3 3 4 5 5 6 6 6 7 7
Alden Case Enterprise, Inc. 2035 Belmont Avenue San Carlos, CA 94070-4611 phone: (650) 592-4675 email: ccase@aldencase.com http://aldencase.com
Introduction
These are guidelines, not cast in concrete, but developers for this product release must have a compelling reason not to use a particular guideline.
Minimum browser
Web Application #1 Microsoft Internet Explorer Netscape Navigator Mozilla Firefox Web Application #1 Microsoft Internet Explorer Netscape Navigator Mozilla Firefox Safari Opera 5.5 7.2 1.0 5.01 4.7.0 0.9.3 [TBD] [TBD]
1.2 7.51
Alden Case Enterprise, Inc. 2035 Belmont Avenue San Carlos, CA 94070-4611 phone: (650) 592-4675 email: ccase@aldencase.com http://aldencase.com
Alden Case Enterprise, Inc. 2035 Belmont Avenue San Carlos, CA 94070-4611 phone: (650) 592-4675 email: ccase@aldencase.com http://aldencase.com
Alden Case Enterprise, Inc. 2035 Belmont Avenue San Carlos, CA 94070-4611 phone: (650) 592-4675 email: ccase@aldencase.com http://aldencase.com
*use the o
tabindex
It may be possible* to include the HTML accesskey attribute for links and forms, which allows keyboard shortcuts to be defined for frequently-used links or form fields. Example:
Alden Case Enterprise, Inc. 2035 Belmont Avenue San Carlos, CA 94070-4611 phone: (650) 592-4675 email: ccase@aldencase.com http://aldencase.com
Buttons
Buttons o o Buttons o o have a standard height; button width may vary. The standard button size is 26 x98 pixels. Buttons may made wider in 20 pixel increments to accommodate longer labels. can have up to four states: Enabled button Disabled button
All buttons have text labels. The text labels use Title style. o Title style means that all words are capitalized except: Articles (a, an, the) Coordinating conjunctions (and, or) Prepositions of three or fewer letters, except when the preposition is part of a verb phrase, as in Move Up o In title style, always capitalize the first and last word, even if it is an article, a conjunction, or a preposition of three or fewer letters. Button will be comprised of image files on top of HTML button. o Using this approach, the browser automatically handles changing button focus. Button images include alt texts tags. (see Alt text section) Buttons are labeled consistently throughout the product. A buttons label should have a consistent meaning and; the same button should not represent two actions on different pages. The Enter key is the keyboard shortcut for the button currently having focus.
Colors
Button, Button, Button, Button, Button, Button, Button, Button, disabled, border disabled, face disabled, font enabled, border enabled, face enabled, focus border enabled, font highlight #C0C0C0 #CECFCE #A0A0A0 #C0C0C0 #CECFCE #000000 #000000 #FFFFFF #404040 #000000 #EFEFEF #333399 #CECFCE #A0A0A0 #333399 #FFFFFF #CECFCE #333399 #000000 #E7E3BD #000000 #000000 #B5CFE7 #A0A0A0 #FFFFFF #EFEFEF silver ash gray medium gray silver ash gray black black white dark gray black smoke highlight blue (bolded/no underline) ash gray medium gray highlight blue (unbolded/underline) white ash gray highlight blue (bolded) black medium beige black black light blue medium gray white smoke
Button, shadow, dark Form field label, active font Paging controls, background Secondary nav bar, active link, font Secondary nav bar, background Secondary nav bar, disabled link, font Secondary nav bar, inactive link, font Tab, active border Tab, active face Tab, active font Tab, inactive border Tab, inactive face Tab, inactive font Table column header, active font Table column header, background Table column header, inactive font Table, alternating rows
Alden Case Enterprise, Inc. 2035 Belmont Avenue San Carlos, CA 94070-4611 phone: (650) 592-4675 email: ccase@aldencase.com http://aldencase.com
Text link, unvisited Text link, visited Text, normal Text, warning or error Window, background #333399 #660066 #000000 #FF0000 #FFFFFF highlight blue highlight purple black red white
Copyright statement
Appears only on Login page and in About <product> page for all products except Employee Resource Center. o For the Employee Resource Center, the copyright is hidden. Sample:
Error Messages
Place the error message near the problem it identifies: o Place the error message in the primary window above the main content that contains the error; place an error indicator icon to the left of the text message. Error messages do not belong on a completely separate page with no context. o Highlight in red the content containing the error to make it easy for the user to spot where the correction has to be made. Before writing an error message, the developer should verify that s/he has done everything possible to prevent the error from occurring. o Rationale: Users success rate will improve with if they encounter fewer errors. 1 o Reference: Design of Sites : Design Pattern K12 Preventing Errors Ask the usability specialist to recommend error message text instead of forming your own error messages. The text should describe the problem in plain English. o Rationale: Users rarely have the same technical background as developers. The text should phrase the message from the users point of view, not the systems point of view. The text should phrase the message so that the user doesnt feel dumb. o Rationale: Users tend to blame themselves when things go wrong. Errors indicate that we havent done as good as job as we could in designing/implementing an error-free application. The text should suggest corrective action. o Rationale: Users need suggestions about what to do next. Make error messages stand out. If, for some reason, the error message cannot be displayed in the primary window, then a popup window is an alternative way to display the message. If using a popup window, give the error message box an appropriate and meaningful title (one that would make sense to a user, not the system). o Rationale: Titles cue the user about where the problem was encountered.
Filter Controls
A filter is defined as a pattern through which data is passed and only data that matches the pattern is allowed to pass through the filter. Filtering is handled by a combination of one of more form fields that allow the user to specify the filter criteria and a link or action button. o Sometimes the filter is controlled by an explicit button just for filtering. Example:
The Design of Sites by Doug van Duyne et al. 2003. Boston, MA: Addison-Wesley.
Alden Case Enterprise, Inc. 2035 Belmont Avenue San Carlos, CA 94070-4611 phone: (650) 592-4675 email: ccase@aldencase.com http://aldencase.com
Sometimes the filtering is part of a larger action; for example, the View Report button on the PD Customize Report page causes the filtering to occur before the user sees the report data. If a filter includes multiple fields that the user can set, the filter is additive and the resulting data is only that data which matches all the filter criteria. o
If all fields are required, place the text All fields are required. Example: