steven-tey / precedent

An opinionated collection of components, hooks, and utilities for your Next.js project.

Home Page:https://precedent.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Two <main> elements in the markup

Aesop7 opened this issue · comments

commented

Hi, I noticed that there are two main elements in the markup. https://validator.w3.org/nu/?doc=https%3A%2F%2Fprecedent.dev%2F I'm sure it's not a big issue, but I'd hate for it to break a screen reader for someone.

oh great catch! do you wanna PR to fix this? AFAIK you can just change this line to <div> and it should work

Will be fixed by #22