Copyright 2009 W3C (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark and document use rules apply.
This document supplements W3C Mobile Web Best Practices 1.0 by providing additional assessments for conformance to Best Practice and some additional interpretation of the Best Practices.
This document is non-normative, but it is recommended to follow the advice given here to further improve mobile friendly content.
This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/.
This is a public Working Group Note produced by the mobileOK Pro Tests Taskforce of the Mobile Web Best Practices Working Group as part of the Mobile Web Initiative . Please send comments on this document to the Working Group's public email list public-bpwg-pro@w3.org, a publicly archived mailing list .
This document was produced under the 5 February 2004 W3C Patent Policy . W3C maintains a public list of patent disclosures made in connection with this document; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) with respect to this specification must disclose the information in accordance with section 6 of the W3C Patent Policy.
Publication as a Working Group Note does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress. Other documents may supersede this document.
1Introduction
1.1 Purpose
1.2 Relationship to mobileOK Basic Tests
1.3 Scope
1.4 Audience
3 Tests
3.1 Access Keys
3.2 Auto Refresh
3.3 Avoid Free Text
3.4 Background Image Readability
3.5 Balance
3.6 Device Capabilities
3.7 Central Meaning
3.8 Limited
3.9 Clarity
3.10 Color Contrast
3.11 Content Format Preferred
3.12 Control Labeling
3.13 Control Position
3.14 Cookies
3.15 Deficiencies
3.16 Error Messages
3.17 Fonts
3.18 Graphics for Spacing
3.19 Link Target ID
3.20 Minimize Keystrokes
3.21 Navbar
3.22 Navigation
3.23 Non-text Alternatives
3.24 Objects or Scripts
3.25 Page Size Usable
3.26 Page Title
3.27 Provide Defaults
3.28 Scrolling
3.29 Structure
3.30 Style Sheets Size
3.31 Style Sheet Support
3.32 Suitable
3.33 Tab Order
3.34 Tables Layout
3.35 Tables Support
3.36 Testing
3.37 URIs
3.38 Use of Color
A References (Non-Normative)
The purpose of this document is to help content providers conform to Mobile Web Best Practices, by providing additional evaluations for their content and by interpreting and clarifying Best Practices in some cases.
Mobile Web Best Practices contains sections against each best practice called "What to Test". The evaluationsin this document supplement those tests.
mobileOK Basic Tests describes machine executable tests for conformance to Best Practices, when delivering content to the hypothetical extremely basic mobile device called the "Default Delivery Context" (DDC).
Many of the tests described in mobileOK Basic Tests are not useful when determining suitability of content for use on more advanced devices. Indeed, content that is suitable for the DDC (and hence mobileOK Basic conformant) and is not available in other forms that take advantage of capabilities of more advanced devices may result in a poor user experience on such devices.
This addendum then provides a set of evaluations that fill the gaps left by the limitations of automated tests and thus completes the set of Best Practices.
The scope of this document is commentary on Mobile Web Best Practices and mobileOK Basic Tests.
This document is intended for creators, maintainers and operators of Web sites. Readers of this document are expected to be familiar with the creation of Web sites, and to have a general familiarity with the technologies involved, such as Web servers, HTTP, with Mobile Web Best Practices and with mobileOK Basic Tests 1.0.
While most evaluations apply to single pages or delivery units, some, such as ACCESS_KEYS, NAVIGATION and URIS are tested across multiple pages. To perform the evaluations correctly and report on them it is necessary to define the scope of the evaluation. This may be expressed using URI patterns (e.g. groupings using POWDER).
This evaluation applies to primary navigation links that occur across all pages within a given web space which is itself defined by the presence of those navigation links. Such navigation links should be associated with access keys. Furthermore, the access key assignment should be identical for those links.
Access keys may be indicated to end users in any of three ways
Where there are elements, particularly navigation links and form controls, that would benefit from quick access:
<input type="text">,
<input type="">, <input type="password">
<textarea>
), check if the field can be replaced by a series
of radio buttons, checkboxes or a select menu with a number of values
that fit with the devices limitations The contrast between this text and its black background color is 5:1
If the targeted device does not support non-linear navigation across links (i.e. a user can only reach a link after having navigated through all the preceding links on the page), ensure the page doesn't use more than 30 links.
This may be mitigated by special purpose pages, such as site maps or link lists, but is highly dependent on the individual context.
Typical changes to preferences such as the following should be reflected accordingly:
for
attribute is defined and the form
control is contained within the label elementfor
attribute is present and corresponds
to the id
attribute of a form controlNote: Spacer images do not convey useful information. They are normally very small.
hreflang
attributetype
attributecharset
attribute(See UWEM 1.0 13.1 for more details)
Referring to http://www.w3.org/TR/WCAG10/#gl-provide-equivalents http://www.w3.org/TR/WCAG20/#text-equiv
Non-text elements include images, graphical representations of text (including symbols), image map regions, animations (e.g., animated GIFs), applets and programmatic objects, ascii art, frames, scripts, images used as list bullets, spacers, graphical buttons, sounds (played with or without user interaction), stand-alone audio files, audio tracks of video, and video.
Check if content meets Basic Test NON_TEXT_ALTERNATIVES
alt=""
) for decorative images such as
rounded corners in framealt
value same as filenamealt=" "
(space)From http://www.w3.org/TR/WAI-WEBCONTENT/wai-pageauth.html#tech-scripts:
Check that links that trigger scripts work when scripts are turned off
or are not supported (e.g., do not use "javascript:"
as
the link target). If it is not possible to make the page usable without
scripts, provide a text equivalent with the NOSCRIPT element, or use a
server-side script instead of a client-side script, or provide an
alternative accessible page as per checkpoint
11.4. Refer also to guideline
1.
Check that, with scripts turned off or not supported or objects not supported:
While checking a webpage with a device, and horizontal scrolling appears, for each element wider than screen size:
Bad examples:
.html
www
subdomain