-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Fixed #32819 -- Established relationship between form fields and their help text. #16920
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello! Thank you for your contribution 💪
As it's your first contribution be sure to check out the patch review checklist.
If you're fixing a ticket from Trac make sure to set the "Has patch" flag and include a link to this PR in the ticket!
If you have any design or process questions then you can ask in the Django forum.
Welcome aboard ⛵️!
64d1d75
to
4d157b0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. 👍
Could a test be added for the case when a label has already been set in 'userland'? (@thibaudcolas ™️)
Maybe there's one here already, but I couldn't see it reviewing on mobile.
4d157b0
to
5b770c3
Compare
5b770c3
to
23852b6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Added an initial set of comments.
@smithdc1 yes, having help text below the input is also a problem. I’ve been hesitant to raise it for two reasons:
I’ll happily raise this if you want? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fixes, added a second round of comments and suggestions. I agree this is valuable and we should try to progress it!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just re-approving because I see my review has been cleared :) There’s some room for small improvements in the docs and code comments formatting based on my feedback and @nessita’s but I suspect they’re small enough that the suggested changes can be made as part of merging the PR. Though smarter handling of custom aria-describedby
would be good, this strikes me as a nice-to-have that goes well beyond the fix we’re after here.
I think we need to review the docs to make sure that we're using this new approach. Take this example here -- it is missing the django/docs/topics/forms/index.txt Line 635 in ac09d22
Maybe this could be updated to The other file I could see where a change is required is the release notes for 5.0 ( |
Good point @smithdc1! @gregorjerse would you be available to do the review of the rest of the doc that David mentions? If not, no worries, let me know and I'll do it as part of general tidy up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gregorjerse Thanks 👍 I left suggestions.
@gregorjerse Do you have time to keep working on this? We're really close 🚀 |
@gregorjerse Do you have time to keep working on this? If not, I'm eager to push final edits. |
7438445
to
d31bd4b
Compare
…r help text. Thanks Nimra for the initial patch. Thanks Natalia Bidart, Thibaud Colas, David Smith, and Mariusz Felisiak for reviews.
d31bd4b
to
966ecdd
Compare
@gregorjerse Thanks 👍 Welcome aboard ⛵ I pushed final edits. |
No description provided.