Generated image
|| #blog #2408-dailies

New project: a11y translator!

My first p5t using S4e!

👋

Yesterday I wrote about learning Svelte and Pocketbase. Today I'm sharing the first project I've completed using one of those tools!

This is an idea I've had for a long time (and took a stab at it a while back), but today I decided that it was a great opportunity to learn some Svelte with an actual tool.

It was a lot of fun!

Here it is 🚀


The concept is as follows:

I'm sure you've seen the a11y abbreviation for accessibility and i18n for internationalization. At some point I saw someone using this same abbreviation format for other words and I thought it was dumb.

Using this abbreviation for the word accessibility is particularly ironic since it hurts accessibility.

So I thought I could make a simple app to generate these abbreviations and then try to decode them. Of course if you are decoding a word like a11y there is more than one potential result - so the code picks a random one.

The result can be quite funny 😁

For example:

The quick brown fox jumps over the lazy dog

Becomes

T1e q3k b3n f1x j3s o2r t1e l2y d1g

And then can become:

The quirk bison fax joins odor the lacy dog

Maybe try another one?

The random places things come from Story behind my website's new colour palette
2024.08.08
Go: Graceful Shutdown Handling OS signals and shutting down gracefully
2022.02.22
Moving my website to Gitlab pages again
2024.08.19