Skip to content

Various improvements to speed and a11y - #143

Open
Lunarequest wants to merge 9 commits into
matsuyoshi30:masterfrom
Lunarequest:master
Open

Various improvements to speed and a11y#143
Lunarequest wants to merge 9 commits into
matsuyoshi30:masterfrom
Lunarequest:master

Conversation

@Lunarequest

Copy link
Copy Markdown
Contributor

I spent a while optimizing harbor. I've made some major changes like using fontawesome 6's JS kit as it is significantly faster over using the webfonts with fontawesome 5.

I switch to fontawesome 6 for the mastodon icon amongst many others. The biggest single improvement has been using derfer for font awesome and placing it at the end caused the performance metric in https://pagespeed.web.dev to jump from 85 -> 95!

Overall I believe this should bring a ton of benefits to the users as I've also added a handful of aria-labels to improve a11y. I'll be moving away from hugo soon so I figured i should upstream the changes I've made so that it can benefit others.

preload fonts

patch font awesome to use font-display:swap
fix fonts

upgrade fontawesome 6.3.0
add support for aria-label for social link
use fontawesome's kits. they are just smaller and better

use fontawesome's kits. they are just smaller and better

use fontawesome's kits. they are just smaller and better

use fontawesome's kits. they are just smaller and better
@Lunarequest

Copy link
Copy Markdown
Contributor Author

note with the addition of rel=me it is possible to use indieauth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant