Post

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?

0 reposts1 like

no role and no interactivity. It's not even a presentational element. It will be there for some CSS trickery but has no impact on the HTML strucuture.