Skip to content
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

Menubar2 fixes #525

Merged
merged 12 commits into from
Nov 17, 2017
Merged

Menubar2 fixes #525

merged 12 commits into from
Nov 17, 2017

Conversation

sh0ji
Copy link
Contributor

@sh0ji sh0ji commented Nov 17, 2017

This fixes #521 & #524.

For #521, I placed the attributes directly on the HTML and removed the JavaScript that was adding various attributes (part of MenubarItemAction.init()).

#524 was relatively straight-forward, but the first point did seem to be deliberately coded into the example.

Note that I also changed the aria-haspopup elements to anchors from spans to match the menubar-1 pattern. My .editorconfig also appears to have removed some unnecessary whitespace from the HTML.

@sh0ji
Copy link
Contributor Author

sh0ji commented Nov 17, 2017

Just noticed that 34894e8 was what added the "toggle but don't close" behavior, which describes that space should do this, but enter should still close. That should now be working.

@mcking65
Copy link
Contributor

@sh0ji, Evan, looking great! Many thanks!!

@mcking65 mcking65 merged commit ba84ee6 into w3c:master Nov 17, 2017
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.

Menuitems duplicated in Editor Menubar Example
2 participants