pidgin/nest

WCAG 2 fixes for contrast and empty header

11 months ago, Jonathan Champ
c1fbb1f6b8e5
WCAG 2 fixes for contrast and empty header

Testing Done:
Ran WAVE tool browser extension. They have a no-install, web version at https://wave.webaim.org/

As an example, improvement goes from 3+24 errors to 2+0 errors on https://pidgin.im/contact/

The colors are directly-scaled, viable suggestions, but it would be possible to make the green more green by exchanging red/blue for green while maintaining the same level of contrast. As an example #0c8a0c might be a bit more vibrant green. Please let me know if you would like me to suggest other slight color variations.

Bugs closed: NEST-45

Reviewed at https://reviews.imfreedom.org/r/777/
{
"private": true,
"dependencies": {
"js-beautify": "^1.8.9",
"js-yaml": "^3.13.1"
},
"devDependencies": {
"@types/jquery": "^3.3.31",
"cspell": "^4.0.23",
"differencify": "^1.5.3",
"eslint": "^6.8.0",
"eslint-plugin-prettier": "^3.1.2",
"front-matter": "^3.0.1",
"prettier": "^1.18.2",
"prettier-plugin-toml": "^0.3.1"
},
"scripts": {
"regression": "node tools/visual-diff.js",
"tidy": "node tools/pre-prod",
"lint": "npm run eslint && npm run prettier",
"eslint": "eslint hugo/static/**/*.js tools/**/*.js",
"prettier": "prettier --write ./**/*.{js,md,toml,css,json}",
"docker": "npm run docker:build && npm run docker:run",
"docker:build": "docker build -t pidgin/nest:latest .",
"docker:run": "docker run -it --rm -p 3000:3000 pidgin/nest:latest",
"hugo": "hugo -s hugo -D -v --verboseLog --i18n-warnings",
"hugo:new": "hugo -s hugo new",
"hugo:server": "hugo server -s hugo -D --disableFastRender -v --verboseLog --noHTTPCache --i18n-warnings",
"spelling": "cspell \"**/*\"",
"migration-tracker": "node tools/migrate-tracker.js"
}
}