'main' HTML tag after 'header' tag

 The 'main' HTML tag comes between the site 'header' and 'footer' tags.


There can be a page 'header' and a page 'footer' within a 'main' tag.


There can also be 'header's and 'footer's wihin 'article' and 'section' tags. 


I wrongly put my site 'header' and 'footer' tags within my 'main' tag and Chrome did not mark the 'header' and 'footer' as 'landmark' tags in the accessibility tree.


There are more tips at: bbingo.xyz/t

Comments

Popular posts from this blog

Giving PWA icons transparent backgrounds

RCS 'identification marker' comes in useful

Marking up code examples