Opened 12 years ago

Closed 5 years ago

#8934 closed enhancement (patchwelcome)

a11y: ComboBox menu selection should match native SELECT

Reported by: Douglas Hays Owned by:
Priority: high Milestone: 1.13
Component: Accessibility Version: 1.3.0b3
Keywords: Cc:
Blocked By: Blocking:


Tested on Firefox 3.0.7 on WinXP.

Enable high-contrast. Run test_ComboBox.html. Click the combobox arrow and down arrow a few times. Each item in the list has a small dotted outline as you down arrow, but when using a native SELECT element, the background is purple giving a much greater contrast. I think this is achieved by do a "selection" of the text. I think we should do this in addition to, or as a replacement for, changing CSS classes for each menu item.

Change History (8)

comment:1 Changed 12 years ago by bill

Isn't this impossible? High contrast mode doesn't let you pick colors for the text/background. (There's only one color for text, typically white, and one color for the background, typically black.)

comment:2 Changed 12 years ago by Douglas Hays

I'm not picking a color. I'm suggesting to select the text (like you're going to copy and paste it) and that signals the browser to do its native thing - like reverse-video or purple background in the case of Firefox 3.

comment:3 Changed 11 years ago by Becky Gibson

Milestone: tbdfuture

Moving to future as I do not know of a way (nor can I find one) to programmatically select text that is NOT in an input text box or textarea.

comment:4 Changed 11 years ago by bill

Should be doable through dijit._editor.selection.selectElementChildren(). (Of course that code should be refactored to somewhere common, like dijit/ or dijit/_base.)

comment:5 Changed 9 years ago by Chris Mitchell

Owner: changed from Becky Gibson to Douglas Hays

reassign due to inactive committer. please triage accordingly.

comment:6 Changed 7 years ago by Douglas Hays

Owner: Douglas Hays deleted
Status: newassigned

comment:7 Changed 7 years ago by Douglas Hays

Status: assignedopen

comment:8 Changed 5 years ago by dylan

Milestone: future1.12
Resolution: patchwelcome
Status: openclosed

A pull request would be welcome for this if it is still an issue, but given the lack of activity over the past 5+ years, I'm closing this one.

Note: See TracTickets for help on using tickets.