Skip to content

Version 6.14.0

Compare
Choose a tag to compare
@irwink irwink released this 02 Feb 20:03
· 25 commits to master since this release

Web and Open Data Validator version 6.14.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

  • Accessibility: WCAG 2.0, Deque AXE, ACT Rules, or Pa11y
  • 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

Support for Python 3 has been added for many components. Tools that do not work with Python 3 (web feed validator, PDF file checker) will report a runtime error.

Web Tool

    - Check the chromedriver version against the chrome version when using the Deque AXE tool
    - Ignore blank terms in dc.subject metadata
    - Support both Python 2 and 3 for supporting tools
    - Report runtime error if a supporting tool requires Python 2 if Python 3 is installed
    - Add installation scripts for optional software (puppeteer, pa11y, Deque axe)

Open Data_Tool

    - Support both Python 2 and 3 for supporting tools
    - Report runtime error if a supporting tool requires Python 2 if Python 3 is installed
    - Include user agent type in error messages.
    - Add installation scripts for optional software (puppeteer, pa11y, Deque axe)
    - Update csvlint to version 0.3.0

Version 6.14.0 contains the following updates and additions

Web

    - Check the chromedriver version against the chrome version when using the Deque AXE tool
    - Ignore blank terms in dc.subject metadata
    - Support both Python 2 and 3 for supporting tools
    - Report runtime error if a supporting tool requires Python 2 if Python 3 is installed
    - Ignore http vs https protocol for vocab - SWI_E HTML_DATA_VOCAB
    - Check headless browser by getting a URL to verify operation
    - Include hidden text in parent tag to avoid false failures.
    - Include user agent type in error messages.
    - Return error message if PhantomJS fails to get the web page (e.g. timeout). Don't just report a 404 error.
    - Add installation scripts for optional software (puppeteer, pa11y, Deque axe)

Open Data

    - Support both Python 2 and 3 for supporting tools
    - Report runtime error if a supporting tool requires Python 2 if Python 3 is installed
    - Check headless browser by getting a URL to verify operation.
    - Include user agent type in error messages.
    - Add installation scripts for optional software (puppeteer, pa11y, Deque axe)
    - Update csvlint to version 0.3.0

Web and Open Data Validator Installation on Windows

The tool installer, WPSS_Tool.exe, does NOT include the required Perl or Python installers.
Perl and Python must be installed on the workstation prior to installing the WPSS_Tool.

Supported versions of Perl include

Does NOT work with Strawberry Perl versions earlier than 5.26 and does not work with ActiveState Perl's community release.

Supported versions of Python include

Required version of Java

  • The HTML5 validator requires Oracle Java 8 or later and OpenJDK version 11.

The WPSS_Tool has been tested on the following platforms

  • Windows 11 (64 bit), Strawberry Perl 5.26 (64 bit), Python 2.7.13
  • Windows 10 (64 bit), Strawberry Perl 5.32 (64 bit), Python 3.10.0

The WPSS Tool installer is available as a release in this repository

Chrome Headless User agent (recommended)

The Chrome headless user agent and supporting files can be installed using the install_puppeteer.pl script in the WPSS_Tool folder.

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

Pa11y Accessibility Test Tool

The Pa11y accessibility test tool (https://pa11y.org/) is an optional tool that may be used to run tests against web pages. The tool can be installed using the install_pa11y.pl script in the WPSS_Tool folder.

Deque AXE accessibility tool

The Deque AXE accessibility tool (https://github.com/dequelabs/axe-cli) is an optional tool that may be used to run tests against web pages. The tool can be installed using the install_deque_axe.pl script in the WPSS_Tool folder.

Web and Open Data Validator Installation on Linux

The tool distribution, WPSS_Tool_Linux.zip, does NOT include the required Perl or Python installers.
Perl and Python must be installed on the prior to installing the WPSS_Tool.

Supported versions of Perl include

  • Perl 5.0 or later (32 or 64 bit).

Supported versions of Python include

  • Python 2.7.6 or newer.
  • Python 3 (some components will not work, e.g. Web feed validator)

Required version of Java

  • The HTML5 validator required Oracle Java 8 or later and OpenJDK version 11.

The WPSS_Tool has been tested on the following platforms

  • Redhat, Perl 5.24.2 (32 bit), Python 3.5.0

The Linux version has not been tested with headless chrome, pa11y or Deque AXE.

The WPSS Tool installer is available as a release in this repository

Installation steps

  • Unzip the package; 'unzip WPSS_Tool_Linux.zip'
  • Go to the installation directory; 'cd WPSS_Tool_Linux'
  • Run the install script; 'perl install.pl'

Building WPSS_Tool

The WPSS_Tool and open_data_tool can be built from the repository as follows

  • Clone the source from the repository
  • Go to the Build folder
    cd wet-boew-wpss-master/Build
  • Run the build_release.pl script. The default is to build a Windows release, to build a Linux release add the "Linux" argument.
    perl build_release.pl
    perl build_release.pl Linux
  • Releases are saved in the distribution folder; WPSS_Tool for Windows and WPSS_Tool_Linux for Linux.
    cd ../distribution