@fidellim
Posted
Hi Marlon,
Great work! Looks perfect as the design itself. I just have a question, is there a particular reason why you included an h1 tag and hid it?
Marked as helpful
@MarlonPassos-git
Posted
@fidellim to be honest, no. There are some specific cases that this is a valid approach (I don't know if in this case it is). But in my head what I did was not a page but a component, and if it was a page it would probably have some more important content that would be fair for the h1. That's why I hid it, because if I put h2 without putting h1 I get an accessibility error generated
@fidellim
Posted
@MarlonPassos-git oh yes. It will indeed cause an issue on the report if you have an h2 tag without having an h1 tag first. Good luck with your future projects!