saadeghi / daisyui

๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ โ€ƒThe most popular, free and open-source Tailwind CSS component library
https://daisyui.com
MIT License
34.25k stars 1.31k forks source link

Use h6 instead of header in footer component examples #2791

Closed danawoodman closed 10 months ago

danawoodman commented 10 months ago

As @bempensato mentioned in #2294 (and reported in #2789), having a <header> as a child of <footer> is invalid.

Moving to use an <h6> tag as it has the lowest weight of a page's heading tags and still properly represents a heading of the <nav> section.

Ran through the W3C validator to confirm, passes with flying colors: Showing results for contents of text-input area - Nu Html Checker 2024-01-24 at 3 44 44 PM

Note I also changed <br/> to <br> as the validator warns the trailing slash is unnecessary.

Closes #2789

saadeghi commented 10 months ago

Thank you @danawoodman