Opened 9 years ago
Closed 9 years ago
#16747 closed defect (invalid)
DAP violation Each form control must have associated text
Reported by: | myu1 | Owned by: | myu1 |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | Accessibility | Version: | 1.6.1 |
Keywords: | Cc: | mikeb | |
Blocked By: | Blocking: |
Description
I am using FF10 and Dojo 1.6.1. I ran Dynamic Assessment Plugin on a page and got the violation Each form control must have associated text. We put a dijit.form.DateTextBox? with an our own icon picker to form a date picker control. This is for a radio button. Why do we have this violation? Is this a false violation due to Dojo 1.6.1?
Change History (4)
comment:1 Changed 9 years ago by
Component: | General → Accessibility |
---|---|
Owner: | set to myu1 |
Status: | new → pending |
comment:2 Changed 9 years ago by
Cc: | mikeb added |
---|
comment:3 Changed 9 years ago by
Ensure that you are using a <label> for form controls, or aria-label (or aria-labelledby) attributes for "composite" form controls made out of multiple page elements and aria roles. So for your DateTextBox?, give it an id, and somewhere else on the page have <label id="datetextbox">describe the form control</label>. Or if you are creating it programmatically, you could try adding "aria-label":"my label" attribute to the properties, although 1.6.1 might not handle that correctly (I know 1.8 does.)
comment:4 Changed 9 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
It's likely either a bug in your page, or something that was fixed in Dojo 1.8, but impossible to tell since you haven't attached a test case or given any instructions on how to reproduce the problem.
If it still happens in Dojo 1.8 then you'll need to give instructions on how to reproduce the problem, including attaching a test case or referencing an existing (public) test case.