Opened 5 years ago

Last modified 4 years ago

#18933 new defect

dojox.layout.TableContainer creates inpropriate label for invalid non-form controls

Reported by: split Owned by:
Priority: undecided Milestone: 1.14
Component: DojoX Layout Version: 1.11.0
Keywords: Cc:
Blocked By: Blocking:


[Accessibility violation]

dojox.layout.TableContainer? will create <label> for any child, and create "for" attribute pointing to it. No matter what tag the child is, "div", "span", "input" or anything.

However, based on HTML5 spec,, the "for" attribute should be pointed to only "form controls". So if the targeted element is "div" or "span", it would be against HTML5 spec and cause accessibility violation.

Change History (2)

comment:1 Changed 5 years ago by dylan

Milestone: tbd1.13

comment:2 Changed 4 years ago by dylan

Milestone: 1.131.14
Note: See TracTickets for help on using tickets.