-
Notifications
You must be signed in to change notification settings - Fork 44
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
Radio group error message placement #19
Comments
Wow! I was thinking of that!
The
|
(I'm not sure this is the right place for my message. I'm sorry. I'm under medication and a little off.) |
I'm not sure I understand what you're saying. Do you mean the target location for the error should be hidden? Ideally it's just an empty div since the message is dynamically rendered. |
1 similar comment
I'm not sure I understand what you're saying. Do you mean the target location for the error should be hidden? Ideally it's just an empty div since the message is dynamically rendered. |
I'm sorry, @cferdinandi . I should have opened a new issue. Yes, an empty element should be hidden until became relevant. The plugin need to check if the I'm sorry for the mess. |
Oh... I disagree with you on this one. There's no benefit to hiding an empty element. There's no content in it. Screen readers won't announce anything for it, and without content, sighted users won't see it. |
For radio groups with
messageAfterField
set tofalse
, grab first item in group instead of last for error field.Potentially also use field instead of label.
The text was updated successfully, but these errors were encountered: