-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing #57 Moving focus to next item (in paper-menu) does not skip disabled items. #58
Conversation
One thing we should check is a11y - it might actually be the right behavior to tab through disabled state items, so that the screen reader can read the item. @bicknellr and @notwaldorf what do you think? |
@tjsavage , @notwaldorf , @bicknellr |
I think it's pretty far-fetched to say that people would be using an attribute called |
Pretty much every native element that I can think of is skipped when So then I nerded out and dug out the spec and it says:
which also suggests that |
@@ -94,6 +105,74 @@ | |||
}); | |||
}); | |||
|
|||
test('focusing on next item skips disabled items', function(done) { | |||
var menu = fixture('disabled'); | |||
debugger; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debugger!
@giltza, sounds like this is ok without a flag. There's a Also, @notwaldorf: 🍰 is as close as I could get; no :brownie:s were available. |
…oes not skip disabled items. We are looking at the 'disabled' html dom attribute rather then the iron-control-state 'disabled' property for more generic support.
@tjsavage , @notwaldorf , @bicknellr |
Great, thanks! |
Fixing #57
We are looking at the 'disabled' html dom attribute rather then the iron-control-state 'disabled' property for more generic support.