-
Notifications
You must be signed in to change notification settings - Fork 18
Web Interoperability Checking
irwink edited this page Jun 16, 2015
·
1 revision
The Web interoperability checking module of the WPSS Validation Tool performs a number of checks on the structure, encoding and presentation of Web pages and Web feeds. The Validation Tool uses a profile of test cases to determine which checks to perform and report on.
The Validation Tool uses a profile to specify the list of test cases to check and report on. The profiles referred to are:
- SWI - Standard on Web Interoperability test cases.
- None - no interoperability checking
A list of test cases is outlined in the following pages.
This profile contains test cases for the Standard on Web Interoperability.
Description | Web Feed Requirements |
Checks For | A Web site’s news feeds are created according to the Atom standard. There is an Atom news feed available on the Web site for all non Atom (RSS) news feeds. Atom and RSS feeds match if they have the same title. The xml:lang attribute declares the language of a feed. Atom feeds contain all required tags to structure and describe Web feed entities. The Atom feed’s ‘self’ link () links to the web feed. The Atom feed’s <id> value is unique. If the following tags <author> , <id> , <name> , <published> , <title> , <updated> , <uri> are present, that they contain content. The format of the Atom tag’s <published> and <updated> content is a valid date. Atom entries for a <link> tag. If the <link> references the HTML version of the entry, the entry attributes match these HTML document’s metadata values. <title> matches dcterms.title <updated> matches dcterms.modified <published> matches dcterms.issued <author> <name> matches dcterms.creator. The Atom entries <id> values are unique within a web feed. All <uri> values are URLs. |
Does Not Check | That the feeds contain frequently updated content. That the <uri> value is the URL of primary departmental Web site. |
Description | Character Encoding Requirements |
Checks For | UTF-8 is used for encoding of HTML Web pages and Web feeds. |
Description | Mark-up Language Requirements |
Checks For | That HTML5 is used for encoding HTML Web pages. That a rel attribute appears in <link> tags. Checks that any rel attribute contains a valid value for <a> , <area> and <link> tags. That <link> tags that reference CSS files have the value “stylesheet” in the rel attribute. That <a> or <area> tags that reference documents of the current site do not have the value “external” in the rel attribute. That <a> or <area> tags that reference non text/html (e.g. PDF) documents in the same domain, with the same title, the value “alternate” in the rel attribute. |
Does Not Check | That specific HTML5 semantic properties are used where applicable. That HTML5 link types are used where applicable. Links to CSS files outside the current site have the value external in the rel attribute.Any other rel attribute values.The list of valid rel attribute values is taken from the following sources; http://www.w3.org/TR/2011/WD-html5-20110525/links.html#linkTypes, http://microformats.org/wiki/existing-rel-values#HTML5_link_type_extensions |
Description | HTML data requirements |
Checks For | Checks that RDFa Lite syntax is used. Checks that schema.org is the primary vocabulary. |
Does Not Check | Properties or values. |
Description | RDFa Lite Mark-up language requirements |
Checks For | Checks that valid RDFa Lite syntax is used. Checks that typeof attribute values have valid content. Checks that property attributes have valid values for the parent typeof attribute. |