aaronwatts.dev (10)

Articles about my main website, where everything is built from scratch, and every facet is learned about and decided by me.

aaronwatts@dev

Light Mode Added

While researching accessibility, I read that dark mode can be bad for astigmatism. I have also noticed recently that in my peripheral vision, white text on dark backgrounds can appear to dance around and appears to vibrate. I tend to use dark mode on most apps on my phone, and also began to notice that when I'm tired, white text on dark background appears to vibrate in my direct vision, not just my peripheral vision.

Continue reading...
aaronwatts@dev

XSL Templates

I only found out about XSLT a year ago or so, when I was looking for a way to style my RSS feeds. I thought it was brilliant, and I set up some XSL templates for my feeds and sitemap. Not very long after, Chromium announced that it would be deprecating the technology.

Continue reading...
aaronwatts@dev

Simple Fix Complicated Execution

I worked out a simple solution to truncate my list of topics using only CSS. It's the only part of my website that really relies on JavaScript. It's wouldn't really be a heavy load for a script to run, but I didn't want to iterate over elements and individually hide them by applying a class to elements one at a time. It seemed like an unnecessary amount of computation, and I thought there was a lighter way to do it.

Continue reading...
aaronwatts@dev

ARIA compliant filter search

I've managed to find some time to spend at my computer recently, after all the festivities and flu. I decided I would continue working on the accessibility and ARIA compliance on my main website. Next on the list was the filter search that I use on my index pages.

Continue reading...