* Fixed the a11y errors on Pa11y dashboard results page and add new url page.
* Removed few more unnecessary roles along with Holli's suggestions implemented.
* Added close button ARIA label
Co-authored-by: Hollie Kay <1948361+hollsk@users.noreply.github.com>
Co-authored-by: Hollie Kay <1948361+hollsk@users.noreply.github.com>
* Clarify the requirements for running Pa11y Dashboard, and specifically the versions of MongoDB supported
* Split the installation process in sections so it's easy to follow
* Instead of trying to cover the MongoDB installation on the Readme, refer to the MongoDB docs, but still including a macOS example for easy reference
* Clarify the use of the config files and how they relate to the NODE_ENV variable
* Use a slightly less informal language in a few places
* Added list view & grid view buttons on the dashboard, on click of which switches the view and avoids truncation of title of the page.
* Indentation fixed.
When trying to add a new URL, the Node.js MongoDB driver complains with the following error:
```
ObjectID generation failed. Argument passed in must be a single String of 12 bytes or a string of 24 hex characters
```
This is because the `/new` url gets captured by the `/:id` route defined in `/route/task/index.js`. It's another instance of #244 that I missed when fixing it.
Due to the routes being defined in the wrong order, certain urls (e.g. `/tasks/:taskid:/edit`) are being captured by the results route instead (e.g. `/tasks/:taskid:/:resultid:`). This is causing the wrong method to being called with parts of the path like `edit`, `run`, etc. being passed as an argument to ObjectID(). As these are not valid MongoDB IDs, the method displays instead an error message:
> Argument passed in must be a single String of 12 bytes or a string of 24 hex characters
Also change the path to the favicon image to be not relative, as this is causing a `favicon.png` string to be sent as an argument to ObjectID() when visiting certain pages due to the previous issue.
* Bumps pa11y-webservice and client to the new versions requiring node 8+
* Update tests to account for the new URL. Integration tests now include a localhost URL, this updates the tests to reflect that.
* Increase test timeout to avoid travis failing
There are two ways of setting a configuration for this app: config files, and environment variables. This makes it easy for the app to run with a different config from the one that you intend to run it with.
Currently, only the NODE_ENV variable and server url are being printed out on startup.
This PR adds the database config and the cron config to the details being displayed. This may help debug configuration issues, database issues, and specially making easier to understand what config is being used when for example running in a container.
* Update gitignore
* Update makefile. Add hbs helper
* Collect all selectors for errors/warnings/notices
* Add list of techniques that help to solve problems
* Remove task-stats block from sidebar
* Remove script from Makefile
* Update tooltips. Map standards and techniques
* Update layout for new components: new tabs, errors panels, lists of selectors, tooltips and popovers
* Update styles for new layout and components
* Graph buttons and popovers styles
* Reformat less code
* Include popover. Update IE styles
* Problem details. Context popovers
* Update graph buttons. Add sorting by number of errors
* Update graph buttons params
* Fix tooltip names
* Swap details and ignore link-buttons
* Set ignore link colors