Ghost divs for design time
371
Views
1
Comments
New
Service Studio

The constant concern with accessibility has forced us to be extra careful with the HTML semantics with which we build our pages. Depending on the context in which we are building an application, it's always a good practice to carefully structure our information hierarchy.


So, even if there are situations where we don't want a DIV to be rendered in our DOM, we want that DIV to exist in design time to help us organize the elements, and consequently keep the code in a more effective and cohesive way.


The idea would be the existence of a "ghost DIV" that is only used to organize the elements in Service Studio (in design time), completely ignoring it in the rendering of the page.


Captura de ecrã 2022-02-09 154716.png

very good idea