Changes between Version 2 and Version 3 of Ticket #32338


Ignore:
Timestamp:
Jan 10, 2021, 9:58:13 AM (3 years ago)
Author:
Thibaud Colas
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32338 – Description

    v2 v3  
    2323- Wrapping the fields in list items also makes the form more verbose than it should be (and the semantics issues are the same).
    2424
     25== Documentation issues
     26
     27Additionally to the above, there are a few occurences of custom radio/checkbox markup in the documentation that will lead to the same issues:
     28
     29- https://docs.djangoproject.com/en/3.1/ref/forms/widgets/#radioselect
     30- https://docs.djangoproject.com/en/3.1/intro/tutorial04/#write-a-minimal-form
     31
    2532== Proposed solution
    2633
    27 Essentially following [https://www.w3.org/TR/WCAG20-TECHS/H71 technique H71] of WCAG. The ideal solution is identical for both:
     34Essentially following [https://www.w3.org/TR/WCAG20-TECHS/H71 technique H71] of WCAG. The ideal solution is identical for both widgets, and also for documentation code snippets:
    2835
    29361. Wrap the group of fields in a `fieldset`, including the group’s label, the inputs, the help text, and any errors.
Back to Top