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

Menu button Examples Updated #163

Merged
merged 15 commits into from
Dec 7, 2016
Merged

Menu button Examples Updated #163

merged 15 commits into from
Dec 7, 2016

Conversation

jongund
Copy link
Contributor

@jongund jongund commented Nov 23, 2016

Updated the documentation to use the new format
Updated code and CSS to better coding practices

Copy link
Contributor

@mcking65 mcking65 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jon, please clean up the jscs errors.

@mcking65 mcking65 mentioned this pull request Nov 28, 2016
@mcking65
Copy link
Contributor

mcking65 commented Dec 6, 2016

@jongund,

The code changes have introduced some bugs with focus management. To reproduce:

  1. When running JAWS, load the menubutton-1 page.
  2. With the virtual cursor active, press the F key to move the vc to the menubutton.
  3. Press enter to activate. Menu opens and focus is set corr3ectly.
  4. press escape to close the menu.
  5. Press enter again. The menu expands, but focus is not set on the first item.

Both examples have this bug.

In master, menubutton-2 has this bug, but 1 does not.

@mcking65
Copy link
Contributor

mcking65 commented Dec 6, 2016

@jongund,

Please compare the menu-button-1.html and menu-button-2.html files to
examples/coding-template/Example-Template.html and resolve the following differences:

  • Difference in title tag format: I recommend a shorter title for both so that the complete title can include the title of the main document after the "|" and not be too long. For example, title tag content for example 1 could be "Actions Menubutton Example | WAI-ARIA Authoring Practices 1.1"
  • Eliminate the aria-labelledby attributes on sections that are adding landmark regions to sections inside main.
  • Implement the screen reader separators that are on lines 52, 73, 189, and 191 in the template.
  • Make the heading structure and format match the template.
  • Organize the information in the same way as the template so keyboard info is grouped under one heading and all roles/states info is grouped under one heading.
  • Add the nav element that is on line 203 of the template.

Many thanks!!

@jongund
Copy link
Contributor Author

jongund commented Dec 6, 2016 via email

@mcking65
Copy link
Contributor

mcking65 commented Dec 7, 2016

@jongund

Enter and space are still not focusing on the first menu item after pressed when the button has focus.

The rest of the changes look good. I will merge this, and we can address the bug separately.

Thank you for all this excellent work!!!

@mcking65 mcking65 merged commit 14088f8 into w3c:master Dec 7, 2016
@jongund
Copy link
Contributor Author

jongund commented Dec 7, 2016 via email

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.

None yet

2 participants