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: |
Description
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
comment:2 Changed 12 years ago by
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
Milestone: | tbd → future |
---|
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
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 10 years ago by
Owner: | changed from Becky Gibson to Douglas Hays |
---|
reassign due to inactive committer. please triage accordingly.
comment:6 Changed 7 years ago by
Owner: | Douglas Hays deleted |
---|---|
Status: | new → assigned |
comment:7 Changed 7 years ago by
Status: | assigned → open |
---|
comment:8 Changed 5 years ago by
Milestone: | future → 1.12 |
---|---|
Resolution: | → patchwelcome |
Status: | open → closed |
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.
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.)