Skip to content

Commit

Permalink
Version 6.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
irwink authored Sep 19, 2019
1 parent 67fea46 commit 1bb7754
Showing 1 changed file with 93 additions and 42 deletions.
135 changes: 93 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,73 +1,123 @@
## Web and Open Data Validator version 6.10.0
## Web and Open Data Validator version 6.11.0

The Web and Open Data Validator provides web developers and quality assurance testers the ability to perform a number of web site, web page validation and Open data validation tasks at one time. Web site checking includes
- WCAG 2.0 A and AA
- Accessibility: WCAG 2.0, Deque AXE orPa11y
- Link checking (e.g. broken links, broken anchors, cross language links)
- Mark-up validation (HTML, CSS, XML, Javascript)
- Mobile optimization (based on Yahoo's best practices)

Open data checking includes
- CSV, JSON, JSON schema and XML validation
- Content validation based on data dictionary patterns
- Data value consistency

## Major Changes

Web Tool
### Web Tool

```
- Update HTML5 validator to version 18.8.29- HTML_VALIDATION
- Changes and additional JAR files for Open JDK version 11 support.
- Update to epubcheck 4.1.0 - EPUB_VALIDATION
- Update HTML5 validator to version 18.11.5 - HTML_VALIDATION
- Check that ARIA properties have valid values - WCAG_2.0-SC4.1.2
- Check that role values are valid - WCAG_2.0-SC4.1.2
- Check for focusable content inside aria-hidden tags - WCAG_2.0-SC4.1.2
- Don't report missing content for tags that have a presentation role - WCAG_2.0-G115
- Use chrome as headless user agent if the browser and required node/puppeteer installation
is available. Use PhantomJS as fallback.
- Check for link text that is just punctuation - WCAG_2.0-H30
- Check for nested interactive tags - WCAG_2.0-SC2.4.3
- Check for valid role and tag combinations - WCAG_2.0-SC4.1.2
- Check for text alternative on images with role="presentation" - WCAG_2.0-F39
- Add testcases, checks and accessibility profile for Deque AXE rules.
- Add testcases, checks and accessibility profile for Pa11y accessibility tool.
```

Open Data_Tool
#### Chrome Headless User agent
The Chrome headless user agent may be used rather than PhantomJS. The following must be installed in order to use Chrome
- Chrome version 69 or newer
- Node version 8 or newer - https://nodejs.org/en/download/
- Puppeteer core module for node (install from command prompt) "npm install –g puppeteer-core"

If Chrome is not available, the WPSS_Tool will fall back to using PhantomJS and a message will be written to the stdout.txt file.

#### Deque AXE accessibility ruleset
Some of the Deque AXE accessibility rules may be checked. A new accessibility testcase profile is available to enable this checking. Details of the ruleset is available at https://dequeuniversity.com/rules/axe/3.3.

#### Pa11y Accessibility Test Tool
The Pa11y accessibility test tool may be run against web pages. The checks cannot be performed on pages behind a login (e.g. applications). A new accessibility testcase profile is available to enable this checking. Details on the Pa11y tool are available at https://github.com/pa11y/pa11y.
This tool requires
- Node version 8 or newer - https://nodejs.org/en/download/
- Pa11y module for node (install from command prompt) "npm install –g pa11y"

### Open Data_Tool

```
- Remove punctuation only after letters (i.e. not in numbers) to reduce false
errors - TP_PW_OD_CONT
- Check for at least 1 comma in the first line of CSV file - OD_VAL
- Check for possible tab separator rather than comma separator in CSV files - OD_VAL
- Report possible currency values in CSV fields (leading or trailing $ sign) - TP_PW_OD_CONT
- Report thousands separator in numeric values in CSV fields (comma or space
separator) - TP_PW_OD_CONT
- Report MARC validation errors as content errors rather than Open Data errors - TP_PW_OD_CONT
- Validate very large XML files (> 100Mb) with a command line validator. Perl validation may fail
due to a limitation in the XML::Parser module - OD_VAL
- Check for very large text cells (> 32767 characters) in CSV files. These may be truncated by
spreadsheet tools (e.g. Excel) - TP_PW_OD_CONT
- Check that minimum and maximum values match in numeric and date columns for language
variants of data files - OD_DATA
- Use first value in column as possible header label if no data dictionary is specified - OD_DATA
- Check that heading descriptions are not the same as the heading label - TP_PW_OD_DD
- Check that descriptions are different for each language - TP_PW_OD_DD
- Don't check value inconsistencies for columns that have data patterns that would
report errors - TP_PW_OD_CONT
- Report duplicate data rows or columns under testcase id TP_PW_OD_CONT_DUP so it can be filtered
- Report inconsistent data values under testcase id TP_PW_OD_CONT_CONSISTENCY so it can be
filtered
- Check for inconsistent capitalization for short (fewer than 100 characters) text
cells - TP_PW_OD_CONT_CONSISTENCY
```

Version 6.10.0 contains the following updates and additions
A new Open Data testcase profile “PWGSC OD (core)” is available that eliminates duplicate data and inconsistent data checks from testing. This should be used for datasets that have valid duplicate or inconsistent data cells as this reduces false error messages.

Version 6.11.0 contains the following updates and additions

## Web

```
- Update HTML5 validator to version 18.8.29- HTML_VALIDATION
- Skip check of property attribute in meta tags - SWI_E_RDFA
- Check for illegal ancestor tag for main landmark - WCAG_2.0-SC1.3.1
- Changes and additional JAR files for Open JDK version 11 support.
- Update to epubcheck 4.1.0 - EPUB_VALIDATION
- Update HTML5 validator to version 18.11.5 - HTML_VALIDATION
- Check that ARIA properties have valid values - WCAG_2.0-SC4.1.2
- If there are multiple role values, use first non-abstract role.
- Check that role values are valid - WCAG_2.0-SC4.1.2
- Check for focusable content inside aria-hidden tags - WCAG_2.0-SC4.1.2
- Don't report missing content for tags that have a presentation role - WCAG_2.0-G115
- Use chrome as headless user agent if the browser and required node/puppeteer installation
is available. Use PhantomJS as fallback.
- If a <video> is inside a <figure>, the <figcaption> can be used for the video captions
text - WCAG_2.0-G87
- Report missing captions or descriptions track for <audio> tags under technique
WCAG_2.0-G158 rather than G87.
- Check that li, dt and dd tags appear in lists - WCAG_2.0-H88
- Check for link text that is just punctuation - WCAG_2.0-H30
- Check for nested interactive tags - WCAG_2.0-SC2.4.3
- Check for valid role and tag combinations - WCAG_2.0-SC4.1.2
- Update to epubcheck 4.2.1 - EPUB_VALIDATION
- Check for text alternative on images with role="presentation" - WCAG_2.0-F39
- Add testcases, checks and accessibility profile for Deque AXE rules.
https://dequeuniversity.com/rules/axe/3.3
- Add testcases, checks and accessibility profile for Pa11y
accessibility tool. https://github.com/pa11y/pa11y
```

## Open Data

```
- Include headings from data dictionary in file inventory CSV.
- Remove punctuation only after letters (i.e. not in numbers) to reduce false
errors - TP_PW_OD_CONT
- Check for at least 1 comma in the first line of CSV file - OD_VAL
- Check for possible tab separator rather than comma separator in CSV files - OD_VAL
- Include floating point (e.g. 0.00) as zero/blank values when checking for duplicate
columns - TP_PW_OD_CONT
- Report possible currency values in CSV fields (leading or trailing $ sign) - TP_PW_OD_CONT
- Report thousands separator in numeric values in CSV fields (comma or space
separator) - TP_PW_OD_CONT
- Report MARC validation errors as content errors rather than Open Data errors - TP_PW_OD_CONT
- Validate very large XML files (> 100Mb) with a command line validator. Perl validation
may fail due to a limitation in the XML::Parser module - OD_VAL
- Check that ZIP file is properly received before attempting to read it.
- Check for very large text cells (> 32767 characters) in CSV files. These may be truncated
by spreadsheet tools (e.g. Excel) - TP_PW_OD_CONT
- Don't check file suffix and mime-type for resources marked as "Other" in the
dataset description JSON object - OD_URL
- Check that minimum and maximum values match in numeric and date columns for language
variants of data files - OD_DATA
- Use first value in column as possible header label if no data dictionary is specified - OD_DATA
- Check that heading descriptions are not the same as the heading label - TP_PW_OD_DD
- Check that descriptions are different for each language - TP_PW_OD_DD
- Record XML data file tags that match data dictionary terms as
being equivalent to CSV column/Data dictionary headings.
- Ignore directory paths when determining if data files are language variants of the same data.
- Don't check value inconsistencies for columns that have data patterns that would report
errors - TP_PW_OD_CONT
- Check for duplicate resource URLs in dataset description JSON - TP_PW_OD_DATA
- Update Xerces2 XML parser to version 2.12.0.
- Report duplicate data rows or columns under testcase id TP_PW_OD_CONT_DUP so it can be filtered
- Report inconsistent data values under testcase id TP_PW_OD_CONT_CONSISTENCY so it can be
filtered
- Check for inconsistent capitalization for short (fewer than 100 characters) text
cells - TP_PW_OD_CONT_CONSISTENCY
```

## Web and Open Data Validator Installer
Expand All @@ -88,6 +138,7 @@ Required version of Java

The WPSS_Tool has been tested on the following platforms
- Windows 10 (64 bit), Strawberry Perl 5.24 (32 bit), Python 2.7.6
- Windows 7 (64 bit), Strawberry Perl 5.24 (32 bit), Python 2.7.6

The WPSS Tool installer is available as a release in this repository
- https://github.com/wet-boew/wet-boew-wpss/releases/download/6.10.0/WPSS_Tool.exe
- https://github.com/wet-boew/wet-boew-wpss/releases/download/6.11.0/WPSS_Tool.exe

0 comments on commit 1bb7754

Please sign in to comment.