318 private links
In short:
- Anchors (links) are for navigating within the current document (page) or to another one.
- The dedicated "submit" and "reset" buttons are for specific form actions.
- Regular buttons are for (JavaScript) actions.
- Links can be styled to look like buttons and vice versa.
Link for navigation.
Buttons for actions.
"Look and feel" can be adjusted in CSS anyway...
It reflects ARIA presses state with CSS. Isn't it already built-in ?
I am using it for aria-current.
How to create accessible spoilers without JS? Well it's a tradeoff.
It reminds me of these projects about customizing the homepage and new windows of the browser.
With zod https://zod.dev/
A Firefox extension to prevent sites from blocking copy/paste, for example :
- to prevent you from copying part of the text on a page.
- to prevent you from pasting your email address in the email confirmation field.
- to prevent you from pasting a password.
These templates are inspiring!
Source code: https://github.com/mmmmaharshi/image-compressor
A great project for lightbox
When a link is activated for a navigation, a POST request can be sent at the same time.
I didn't know it, and you can find a short explanation on MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#ping
and how to batch to optimize DELETEs
The Nuxt, or the Next.js, or SvelteKit, or Solid Start of Angular