Ticket #5958 (closed defect: wontfix)
ValidationTextBox etc: remove default invalid tooltip
| Reported by: | bill | Owned by: | becky |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2 |
| Component: | Dijit | Version: | 1.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by bill) (diff)
ValidationTextBox? displays the tooltip "The value entered is not valid" whenever a value is invalid. See this block of code in ValidationTextBox?:
// invalidMessage: String // The message to display if value is invalid. invalidMessage: "$_unset_$", // read from the message file if not overridden
Want to remove this and not display any tooltip, unless the developer has specified a more useful message (like "use format (999) 123-4567"). Presumably the developer has specified format and required-ness in the label of the field already.
Becky said: I think we can live without the default tooltip but I'll have to double check with the Accessibility Center. Whenever the invalid icon is displayed the ARIA role should also be set to "invalid" so the screen reader will get the information. However, there is no guarantee that a sighted person will understand the invalid icon - the tooltip provides a textual description. While I believe the icon is sufficient, the Accessibility Center makes the final call.
So assigning this to Becky.
See also #5982. If we remove the default invalid message should probably also remove the default missing message.