Use single quotes for strings in JavaScript (so unescaped double quotes can be used for attributes in HTML output)

Test Web pages against the following browser test baseline:

The current and previous major version of each browser that accounts for at least 5 per cent of visitsFootnote 1 to the website;

Any major version of a browser that, on its own, accounts for at least 5 per cent of visitsFootnote 1 to the website; and

The current major version of each mobile browser that accounts for at least 5 per cent of mobile device visitsFootnote 1.

PR testing is done by Travis-CI, but the same set of tests can be run using grunt dist locally before you submit

Commit Messages

When committing changes for a pull request, your commit message should start off with the name of the affected plugin(s) or topic, followed by a colon and a short description of what's changed. A longer description can also optionally be included. If the commit resolves a pre-existing issue on GitHub, include "Fixes #issue-id." as a part of the long description.

Message example

Plugin name/topic: Short description of the change. (Optional) Long description of the change. Fixes #1715.

Command line example

git commit -m "Plugin name/topic: Short description of the change." -m "(Optional) Long description of the change. Fixes #1715."

Footnotes

Footnote 1

For Government of Canada websites: Visits to all public-facing Government of Canada websites and web applications, excluding visits from Government of Canada workstations.