Skip to content

Support keyboard access via TAB key - #3

Open
joeldbirch wants to merge 3 commits into
peachananr:masterfrom
joeldbirch:tabaccess
Open

Support keyboard access via TAB key#3
joeldbirch wants to merge 3 commits into
peachananr:masterfrom
joeldbirch:tabaccess

Conversation

@joeldbirch

Copy link
Copy Markdown

Hello.

I notice that the menus are keyboard accessible when the trigger is set to click by tabbing to the button and hitting enter which acts like a click. However, when trigger is set to hover the menu is inaccessible via tab focus. I've had a quick go at fixing this.

What I have done seems to work, except for when you tab to the menu really quickly upon page load (not sure why). Anyway, as imperfect as it is, I thought I'd push this so you can take or leave the idea as you see fit.

Thanks for your work.

Joel.

… users can see which item is currently focussed.
… fire on menu button focus. This makes the menu open when keyboard users tab into it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant