Opened 12 years ago
Closed 11 years ago
#9416 closed defect (fixed)
TitlePane should allow setting the title attribute on the title node
Reported by: | Becky Gibson | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.4 |
Component: | Dijit | Version: | 1.3.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
Currently the title attribute for a dojoType=dijit.TitlePane is used to specify the actual title text for the Title node of the component. There is no way to add an actual HTML title attribute to the title node. The title attribute could be used to provide the user more information about the state of the title Pane - open or closed, for example.
Change History (5)
comment:1 Changed 12 years ago by
comment:2 Changed 11 years ago by
Description: | modified (diff) |
---|
Hmm, this seems like a larger issue than TitlePane. You could make the same argument about the panes in an AccordionContainer or the tabs of a TabContainer (see #7508). Plus there are other tickets about tooltips like #5817.
Since "title" is already a dijit standard to mean "name of this thing" (aka a thing's title), maybe there should be an attribute called "tooltip"?
Perhaps it was a mistake to use "title" in the English sense of the word (a thing's name) rather than the HTML meaning (ie, a tooltip), and we could rename "title" to "label" or "name", but it seems hard to do that in a backwards-compatible way. (And also the attribute named "title" makes sense for the widget named TitlePane)
comment:3 Changed 11 years ago by
Milestone: | tbd → 1.4 |
---|---|
Owner: | set to bill |
Status: | new → assigned |
comment:5 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Could also consider using aria-label or a djit.Tooltip to provide a more accessible alternative.