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

Disclosure (Show/Hide) Pattern - Feedback from APG list #3145

Open
a11ydoer opened this issue Oct 15, 2024 · 1 comment
Open

Disclosure (Show/Hide) Pattern - Feedback from APG list #3145

a11ydoer opened this issue Oct 15, 2024 · 1 comment

Comments

@a11ydoer
Copy link
Contributor

"I've created a form that expands when content is entered into the first and only visible field initially. What pattern should I be following? See attached screenshots. Note: pressing enter will validate the form (without expanding it). Please advise, thank you!

Best,

Michaux Kelley
hide_signup_form
show_signup_form

@a11ydoer
Copy link
Contributor Author

Hi Michaux,

I understand you're asking which pattern you should use for the sign-in or sign-up form. The choice ultimately depends on the user interaction you want to implement as the developer with accessibility in mind.

Additionally, the ARIA Practices Group (APG) provides an Accordion example, which you may want to explore with disclosure(show and hide) patterns.

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