You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nuxt v3 injects and requires a div#__nuxt added to the DOM directly following the body. The way Pico's max-width rules target head, main and footer is by using direct descenders. For example ,body > main.
I find that too framework-specific.
But the problem exists.
I could imagine the following solution:
The good old [role="contentinfo"] is the old aria variant of "footer".
With the difference that it should only be the main footer. And that is exactly what we want.
So instead of body > footer you could use [role="contentinfo"]...
The same applies to the header: [role="banner"] instead of body > header.
The disadvantage is that you have to mark the footer with an additional (redundant?) attribute.
Nuxt v3 injects and requires a
div#__nuxt
added to the DOM directly following thebody
. The way Pico'smax-width
rules targethead
,main
andfooter
is by using direct descenders. For example ,body > main
.Original:
While Nuxt contains this one descending
div
, Next contains two descendingdiv
s. To accommodate both frameworks, maybe:The text was updated successfully, but these errors were encountered: