Week 4: Learning a11y, Node.js - assert(), Onebible - 2 PR merged, 2 new browser extension addition to my tool box

Books and Links

I started reading Building a Second Brain and trying to squeeze in some time for summarizing my notes from the What The Heck Do I Do With My Life book - still WIP.

Added a bunch of a11y links, as a result, my bookmark count is 6867

Programming & Learning

Onebible PRs

PR #19 which I raised last week and #17 were merged this week. These PRs were making changes only on the .sqlfile. In addition to the .sql file, the repo has .xml, .json file format as well. Next up, I'm planning to write a script to take care of updating these as suggested by the repo owner.


Testing for a11y

I was learning more about a11y and was focusing on how to make the site accessible for both keyboard-only users and screenreader-only users.

a11y-before Before
a11y-after After

Testing and fixing a11y issues is easy using the WAVE browser extension. Along with WAVE, I discovered ClearURLs - an open sourced browser extension for removing utm_source, utm_medium, utm_campaign, and similar tracking parameters from URLs before loading them.

Adding both WAVE & ClearURLs to my browser-configuration


Adding test for a node script

While adding tests for the node script, I learnt that you can use assert that comes with Node.js instead of using an npm dependency.

If you want to test a condition for a little utility program without wanting to add any additional dependencies, you can use the native assert that comes with Node.js pic.twitter.com/oLAIQZEc4z

— Sridhar Raj Sampath Kumar (@sridharrajs) July 14, 2022

For my new posts, Subscribe via weekly RSS, common RSS or Subscribe via Email