Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<h2> or <label> or both(?) for form #3

Open
kySuga opened this issue Sep 25, 2022 · 0 comments
Open

<h2> or <label> or both(?) for form #3

kySuga opened this issue Sep 25, 2022 · 0 comments

Comments

@kySuga
Copy link
Owner

kySuga commented Sep 25, 2022

Currently no h2 (commented out), and using a visible label.

As it relates to a11y, knowing headers can be used to navigate a page, it would make sense to have it available, so thinking to un-comment it and either visually hiding it or the label, if the label then styling h2 as label currently is.

At first thought, it seemed that only having one was sufficient, but know both are important.

Rereading, seems best to hide the label and have the h2 exposed for navigational purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant