-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Select with custom menu not keyboard accessible in 1.1 rc1 #3658
Comments
…select is opened. This addresses issue #3658, but doesn't fix it visually yet (only audibly and for keyboard)
This definitely works in the betas, so it's a regression. I think it came from moving things over to native dom methods (maybe a tabindex was misplaced somewhere?). |
I think this is good. @Wilto - if you get a chance, I would love a second opinion on the roving tabs and such. I didn't get a chance to do a full ARIA overview, but the keyboard and roving focus appear to be good now, and things are certainly working from a visual keyboard access perspective. thanks! |
So odd this isn't working for us after that commit. We'll have to try and get this in for 1.1 final. |
Sounds from the commit message that @scottjehl's fix makes this work on screenreaders but we still need the visual feedback to work for sighted users. |
you're not getting visuals? In chrome? I am…. hmmm On Feb 28, 2012, at 11:17 PM, Todd Parker wrote:
|
Right now on http://jquerymobile.com/test/docs/forms/selects/custom.html I can tab to the first select, press space to open it, and arrow up and down to change the hover/focus before hitting space to make a choice. The hover is subtle, same as our hover state, so maybe it's light enough it's hard to see? Could that maybe be the problem? On Feb 28, 2012, at 11:17 PM, Todd Parker wrote:
|
Hmmm….I see that now. Maybe we can add the focus class to the selected option? filament On Feb 28, 2012, at 12:07 PM | February 28, 2012, Scott Jehl wrote: Right now on http://jquerymobile.com/test/docs/forms/selects/custom.html I can tab to the first select, press space to open it, and arrow up and down to change the hover/focus before hitting space to make a choice. The hover is subtle, same as our hover state, so maybe it's light enough it's hard to see? Could that maybe be the problem? On Feb 28, 2012, at 11:17 PM, Todd Parker wrote:
Reply to this email directly or view it on GitHub: |
full page ones may need a little extra help, yes. On Feb 29, 2012, at 12:40 AM, Todd Parker wrote:
|
No, that is a small custom menu example. Maybe bad syntax? filament On Feb 28, 2012, at 12:49 PM | February 28, 2012, Scott Jehl wrote: full page ones may need a little extra help, yes. On Feb 29, 2012, at 12:40 AM, Todd Parker wrote:
Reply to this email directly or view it on GitHub: |
oh sorry ok - well both do then :) maybe syntax. I'll see tomorrow! On Feb 29, 2012, at 12:52 AM, Todd Parker wrote:
|
Todd are you talking about the blue select at the end of the page? (second to last one?) That one works for me, but the hover state and active state are all themed pretty similar, so it's almost impossible to see the shift. Something else for you? |
I think @Wilto fixed this and added the btn-down class to menu items to provide better visual feedback because hover is too subtle. The only issue left was making keyboard nav work in the full screen dialog selects. On Feb 29, 2012, at 4:32 AM, "Scott Jehl" reply@reply.github.com wrote:
|
@Wilto's fix looks like it improved the keyboard nav itself when headers are involved. It's using button-down now on focus? That seems unexpected to me… even if it might look better with our default theme. Shouldn't it just use hover/focus classes? Maybe our hover just needs more punch? That aside, this latest change added ui-focus classes to focused buttons. Before, we were relying only on the :focus pseudo class on buttons themselves, but that doesn't bubble for focused child elements, so it didn't show up in listviews - list view markup is odd (links inside "buttons"). Anyway, I think the combined changes bring good coverage for custom selects. Fullscreens are still an issue, yeah. I'll reopen On Feb 29, 2012, at 7:20 PM, Todd Parker wrote:
|
Okay just closed this out, but I still question the ui-btn-down- class usage. @toddparker and @Wilto what do you think? With focus in place now, we've got additional "glow" from our ui-focus class. I think down should be reserved for actual down state, like a tap or spacebar click... |
Both the native and custom menu selects will open when focused and the spacebar is pressed. However, the custom menu version doesn't seem to ever gain in focus when opened - no options have hte ui-focus class and no keystrokes seem to affect it.
http://jquerymobile.com/test/docs/forms/forms-all.html
This should have the same keyboard shortcuts as the native menu - arrow up/down changes the selected option, spacebar or Enter selects the option and closes the select.
This is an issue in 1.0.1 so it's not a recent regression.
The text was updated successfully, but these errors were encountered: