Skip to content

Instantly share code, notes, and snippets.

@anevins12
Last active April 13, 2020 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anevins12/de11bd407f7d63e8b121e49991ae6385 to your computer and use it in GitHub Desktop.
Save anevins12/de11bd407f7d63e8b121e49991ae6385 to your computer and use it in GitHub Desktop.
Bookmarklet: Deque screen reader shortcuts quiz
javascript:(() => {$('.data.shortcuts tr').each((i, v) => { const inputLabel = $('[scope="row"]', v).text(); const $input = `<input aria-label="${inputLabel}" type="text" />`; $('td:last-child', v).html($input); })})();
@anevins12
Copy link
Author

anevins12 commented Apr 13, 2020

This bookmarklet turns shortcuts inside tables of keyboard shortcuts into input fields ready for you to quiz yourself. You can use this bookmarklet on the following pages:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment