web.dev
web.dev copied to clipboard
Learn Forms: aria-hidden="true" should not be paired with the hidden attribute
This page suggests invalid HTML. It shows an example with aria-hidden="true" and the hidden attribute on the same input tag. According to the kind devs at StackOverflow, the aria attribute is not needed because hidden renders it invisible to screen readers.