Blog
-
A personal journey towards digital accessibility
In the working life of many accessibility-aware software professionals there usually is either a personal frustation when facing a digital barrier or, if non-disabled, a moment of clarity when they realise what accessibility is and why it matters. For me, that lightbulb moment was an assistive technology demo by Graham Armfield at WordCamp Edinburgh 2015.…
-
Named capturing groups in regex
Regular expressions, commonly known as regex, are a super powerful tool that can be used for search, filtering, string manipulation and validation. Even though there are some syntax variations, regex can be used with most software languages. This article will focus on a particularly handy part of the regex syntax that can make your code…
-
Give blogging another go
Back in October last year, I set myself the target of getting back into blogging. Nothing unrealistic or too ambitious like other times, just one article a month. To be fair, I think I’m not doing too bad so far 😁 So why blog? Different people will have different reasons to write and put their…
-
Copy HTML content with navigator clipboard
We have often seen “Copy” buttons for plain text. Thanks to navigator.clipboard‘s API, we can also programatically copy and paste HTML content. The copy code Let’s imagine we have a bit of HTML content that includes links and other basic HTML code. We want our end users to be able to copy it exactly as…