Skip to main

A Change of Heart with Tailwind and an Accessibility Awakening #

This has been long coming: I like Tailwind! It is so fast, it just works. This year has been a journey in delving into CSS and getting over a lot of my false preconceptions. I learned CSS effects screen readers. With a bit of pause, this makes sense. The framework of HTML being the layout, CSS being the look and feel and JS for interactions doesn’t work in this modern age. We can use JS to change the appearance of a site and we can use css to add content to a page. CSS being viewed in the light of accessiblity probably makes the accessiblity developer’s life more interesting. My lighthouse score for this site is pretty high and I used to be proud of this achievement (started fro m 70 now around 90) but accessibility tools don’t capture the gray zone stuff like icons and CSS.

I used to get excited about making my site look different (I am not a fan of Web3 but man, Web3 sites look so sleak) so this week I added gradients, round corners and medium opacity backgrounds everywhere. I’ve also noticed an increase in the amount of time where I care about things that you can’t see like refactoring my CSS.

The things you don’t see #

I cleaned up a lot of duplicate HTML, CSS and JS. Right around March I started working through Javascript for Kids. The end of the first chapter motivated me to tackle more of the JS part of my site. I finally updated 11ty and it was not as smooth as I’d thought it would be. Tailwind wasn’t working properly so I had to update that separately; Sharp was being funny so I duc taped a solution. I updated how 11ty rendered paths so lI wouldn’t have the rare path conflicts. Typing this all out, it sounds rather uninteresting but it’s quite calming of an activety.

The things you do see #

I added footnotes and table of contents.

With the look and feel, I tried to give every page a more consistent appearance. I changed links, made the site overall more purple and slate. I also shrunk the font size. And most importantly I fixed how code appears in blog posts. Hopefully this page feels more unified.

I made a ton of responsive fixes. One that was bothering me was specifically how to blog resized on mobile. I don’t know why I find breakpoints difficult but hopefully I’ll get better at them.

A major overhaul to the Media List #

I waisted a good hour yesterday looking at book sites from goodreads to storygraph. I then procceeded to look at the reading lists of some of my favorite bloggers:

There’s stuff I like and dislike about all these lists, and the inspirations I’ve taken from them are peppered throughout my own media list. After tweeking my code more, I’ve come to the conlusion that I don’t think I’ll ever use Storygraph or Goodreads.

Reading to Socialize online #

I don’t use social media to create content. I don’t write book reviews on Goodreads partially because I know people will look at it, whereas my tiny site here gets no traffic (thank God!).

Creating the media list: Being Particular and vague #

In creating my media list (which has been a year in the making) I coded it with nary a thought to structure. The goal was to practice creating partials and lists in 11ty. My thinking was I’ll refine it as I go. While this is fine, I’m not sure if it is good for giving myself experience in planning. TBH I probably lean too much towards the throwing sphagetti at the wall strategy. Anway, the list is now responsive and uses flexbox. I’ve been trying to use all different kinds of CSS with Tailwind.

Rating #

I don’t use a numbered review system because I overthink it. What separates a 3 from a 3.5? What do those numbers actually mean to you or me? A number absent of context means nothing. But even with context it is a silly attempt to make the subjective seem more objective, to try to wring some consistency to an inconsistent system. To give an example: The Fountainhead. I did not like the book but nonetheless think it’s good even though the prose and story are lacking. Why? Because Ayn Rand did get me to question my own beliefs in less than 300 pages-that’s got to count for something. So does impact make this piece of work a 3? Maybe the paper thin characters should render it a 2? But the ability to explain an idea rapidly ought to give it a 4! Another factor to consider is the freshness of the author. The Fountainhead and Atlas Shrugged couldn’t leave the same impression on me. I’ve already been introduced to Objectivism once so the second time by the same author just won’t be as strong of a new idea because it is no longer new.

Genre #

I don’t have a genre category mainly because I’m bad at sorting things. Both Foundations of Rehabilitation Teaching With Persons Who Are Blind or Visually Impaired and The Quick and Easy Way to Effective Speaking are non fiction however they’re not the same category. I suppose one could be in education and the other life adive (if that is a category). Now the real reason is because I’m not great with 11ty and haven’t found a way to do tagging outside of blog posts

Types of Media #

I wondered whether I should keep this to just books but then wondered where would I put movies and music? I don’t want to have so many lists floating around. Maybe I’ll change my mind but for now, I’m happy with all these different kinds of media being in one place.

A blog post or a Java post or a media post? That is the question #

Digital Gardens were all the rage a while back. There’s streams, campfires and second brains. And the aim of all those things is to better organize content…I think. And this is what I try to do with my media list and my java notes. So when should I put something in those pages instead of the blog? The way I go about it is ease and frequency of reference. If I want to look up a book 8 years from now, it’ll be hard from the blog because I’ll have so many blog posts but from books it’ll be much easier. I read more books than on my book section but I rarely publically write about them.

Reading on the Web #

Reading off the Web #