Web dev and accessibility
Providing image spoiler protection
Using spoiler protection is not only a good way to prevent spoilers. It is also a good method to hide images which may be shocking to your visitors. In this article we'll go about making spoiler protection for images, with and without JavaScript.
Toggle dark mode on your website by user preference
You added a dark mode to your website, or you want to? Did you know you can check your users\' preference so it is enabled by default when appropriate? Let's explore.
Google style form fields using float labels
After reading an article about the change in design of Google's text fields, I wondered how I could replicate their Float Label style in a way that took very little syntax, was accessible, and preferably used no JavaScript. In this article I describe three methods of achieving this.