1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-15 09:52:10 +00:00
seirdy.one/content/notes/progressive-enhancement-class-feedback.md
2024-06-23 15:53:17 -04:00

1.4 KiB

title date replyURI replyTitle replyType replyAuthor replyAuthorURI syndicatedCopies
Progressive enhancement class feedback 2024-06-23T15:46:01-04:00 https://dillo-browser.github.io/pec/ Progressive Enhancement Class WebSite Dillo browser https://dillo-browser.github.io/
title url
The Fediverse https://pleroma.envs.net/objects/c04df0f6-a868-4af6-91b6-ce6e5b76c399

This page at the time of writing grades websites' progressive enhancement based on their ability to work without JavaScript. Everything, not just JavaScript, should be progressive enhancements.

HTML elements already have progressive enhancement built-in. CSS, JS, and embedded content should be progressively enhanced too. The page should make sense without scripts and styles, alt-text should be available in the absence of embedded media, etc. We shouldn't put scripting on a pedestal above everything else.

I suggest replacing references to JavaScript with references to non-HTML content. See also: "curlable" on the IndieWeb wiki.

A more minor piece of feedback: I'd suggest re-sizing the badges to 88-by-31 pixels if possible. It's a very popular size for badges; at these dimensions, they would look good alongside others of the same size (examples from the W3C).