Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#10435 closed bug (fixed)

Selectmenu ignores title attribute

Reported by: m_berling Owned by: Felix Nagel
Priority: minor Milestone: 1.12.0
Component: ui.selectmenu Version: 1.11.0
Keywords: Cc:
Blocked by: Blocking:


Given the fact that the selectmenu widget is said to "Duplicate(s) and extend(s) the functionality of a native HTML select element to overcome the limitations of the native control", I think it should support the "accesskey" attribute of the original select element to provide the usage of a shortcut key.

Currently I'm using a workaround similar to:

var jSelect = jQuery("#myselect");

    .attr("accesskey", jSelect.attr("accesskey"))
  .attr("accesskey", "");

NB: Regarding the siblings() method, the above code is correct only in case there is only one selectmenu in the current DOM hierarchy level, of course. (Which, in case of my web application, is always true.)

Change History (7)

comment:1 Changed 9 years ago by tj.vantoll

Here's an extension that does this: I'm torn as to whether this should be integrated into the core widget. Thoughts anyone else?

comment:2 Changed 9 years ago by Scott González

Status: newopen

comment:3 Changed 9 years ago by Felix Nagel

Owner: set to Felix Nagel
Status: openassigned

We agreed on copying title and accesskey attributes.

comment:5 Changed 8 years ago by Felix Nagel

Resolution: fixed
Status: assignedclosed

Selectmenu: Copy title attributes

Fixes #10435 Closes gh-1298

Changeset: 979373983babce7122d98c4f3919426735555d61

comment:6 Changed 8 years ago by Scott González

Milestone: none1.12.0

comment:7 Changed 8 years ago by Scott González

Summary: Selectmenu ignores accesskey attributeSelectmenu ignores title attribute

Updated summary to match the final decision.

Note: See TracTickets for help on using tickets.