Join Nostr
2026-09-26 21:26:31 UTC

CSS by T. Afif :verified: on Nostr: a11y question: Let's suppose I have an empty html element somewhere on the page with ...

a11y question: Let's suppose I have an empty html element somewhere on the page with 0 content, invisible*, having position:absolute (or fixed). It has no purpose in the HTML (only used for some CSS stuff).

Is it a good idea to add the "inert" attribute? Or should I do nothing?

* It may or may not have a size, but no style to make it visible.

#A11y #HTML