Closed djmtype closed 2 years ago
This seems quite similar to my issue, #13.
Same issue as #13
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: