Skip to content

Instantly share code, notes, and snippets.

View Mottie's full-sized avatar

Rob Garrison Mottie

View GitHub Profile
Mottie /
Last active December 27, 2022 20:33
Reset WAVE Evaluation Tool Bookmarklet

Bookmarklet to reset WAVE

WAVE is a browser extension used to test the accessibility of a web page. It alters the HTML to add indicators thoughout the page, but unfortunately there isn't a way to remove this indicators. That's where this bookmarklet comes in. When you're done with the evaluation, click on this bookmarklet, and all the indicators will disappear.

Important note: This is not a perfect solution. This bookmarklet is only removing the indicators, but not actually reseting WAVE. So if you need to run WAVE again, you will likely need to Run it twice to open the WAVE side panel and apply the indicators again.


Download the wave-reset.html file included in this Gist

Keybase proof

I hereby claim:

  • I am mottie on github.
  • I am regarr ( on keybase.
  • I have a public key ASAWyWLYRvPE3Wqv-L_9Su6zF5ZuqlJZVyS4vePezJ2ZBAo

To claim this, I am signing this object:

Mottie / stylus-error.json
Last active March 18, 2024 11:45
Stylus update error test
"enabled": true,
"updateUrl": "",
"md5Url": null,
"originalMd5": null,
"installDate": 1542676678468,
"sourceCode": "/* ==UserStyle==\n@name _test\n@namespace\n@version 0.1.0\n@description A new userstyle\n@author Me\n@var color bg \"background\" #000\"\n@updateURL\n==/UserStyle== */\n@-moz-document domain(\"\") {\n body {\n background: var(--bg) !important;\n }\n}",
"sections": [
Mottie / demo.css
Created October 23, 2018 05:48
/* Use the css below to change the password input symbol */
@font-face {
font-family: 'fontello';
src: url('./font/fontello.eot?0000');
src: url('./font/fontello.eot?0000#iefix') format('embedded-opentype'),
url('./font/fontello.woff2?0000') format('woff2'),
url('./font/fontello.woff?0000') format('woff'),
url('./font/fontello.ttf?0000') format('truetype'),
url('./font/fontello.svg?0000#fontello') format('svg');
font-weight: normal;
Mottie / convert-date-in-md.js
Created January 18, 2018 20:32
Convert M/D/YYYY format to YYYY-MM-DD in all markdown files in current folder
#!/usr/bin/env node
"use strict";
/* Convert date formats in markdown
* This script converts a "(M/D/YYYY)" date format to "(YYYY-MM-DD)" in *all*
* markdown files within the folder it is placed
* Use `node convert-date-in-md.js` to execute
const fs = require("fs");
Mottie / test.css
Last active December 25, 2017 12:23
For testing Stylus' CSSLint
@-moz-document url("") {
/* */
:focus {
outline: 1px none;
:focus {
outline: 0 red;
:focus {
outline: 1px solid transparent;
Mottie / github-selected-tab-color-uso.user.css
Last active December 13, 2017 05:39
Selected Tab Color UserStyle
/* ==UserStyle==
@name GitHub Selected Tab Color (uso)
@version v1.0.10
@description Add a custom selected tab color to GitHub
@author StylishThemes (
@license CC-BY-SA-4.0
// white space testing
// ok
// test 2
// test
function test( ) {
console.log('ok' ); // 123
Mottie / Stylus.svg
Created July 2, 2017 18:38
Stylus Logo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Mottie / diacritics.json
Last active November 23, 2016 20:16
Spanish Diacritic definition
"de": {
"de": {
"metadata": {
"alphabet": "Latn",
"continent": "EU",
"language": "German",
"native": "Deutsch",
"sources": [