-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Create tests for APG design pattern: menubar #54
Comments
To clarify, is https://w3c.github.io/aria-at/review/menubar-editor.html up to date and ready to review? If so, some initial feedback:
I also put together a matrix to help me identify at a high level which features, states, and modes were tested. I marked a few that I thought might be missing with a question mark. Maybe it would be helpful to generate a table like this for the review page? @mcking65 @spectranaut (not sure what the best structure of the table would be)
|
Yes its up to date! About the technical bugs: There is a PR open that will address the bug that made (2 - duplicate keys), and I can look into (5 - character rendering) today or tomorrow and plan to fix (7 - setup script description) today or tomorrow. About the key commands: I think Jon and Yohta just didn't supply commands for VoiceOver and NVDA. Who can do that? |
Thank you @spectranaut - I can do it, but not before Wed. |
I've just finished commands for VoiceOver and NVDA (see 'Command' sheet for attached files), Quick notes:
NVDA key
200218_Menubar_NVDA_test_writing.xlsx VO key
|
@Yohta89 if you upload a spreadsheet I can add them. Can you reupload the spreadsheet that is already in the repository, so it's in the same format? Edit: oh sorry I misread, I see you have added the commands! I'll work on encoding them. |
Thanks @spectranaut ! I attached the file when I edited the comment! Let me know if the format didn't fit. |
@Yohta89 -- I added the new commands to this checked in CSV file, and then used Jon's script to convert them to the commands.json format. The commands can all be reviewed in the menubar testplan review page |
Community Group) |
Once the PR #160 is merged, this should be ready for peer-review. |
From 2020-04-22 call; I'll document the existing behavior of native menu bars with JAWS. @Yohta89 @jongund will document NVDA and VO. Sample of aspects to document:
|
NVDA and Windows 10 System Menu on Firefox Browser
|
JAWS 2020 and Windows 10 System Menu on Firefox Browser
Note: reading all of the roles resulted in equivalent information being conveyed as when navigating to it. A look under the hood (what is in the a11y API)I used Accessibility Insights to look at the accessibility properties of the Menu and compare them with SR output. Menubar role
When navigating to the menu bar, the name of the menu bar is not conveyed, and I think the role may be conveyed as "menu". See output above. other roles states and propertiesI wasn't able to find roles like Compare findings to test planTest 1, 2, 3, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26: - NA: reading mode is not supported for native menubars
Suggestions
|
For Test 27: Read disabled menu item in submenu in interaction mode, for VoiceOver, the second assertion is, "The name 'Smaller' is conveyed." I suspect this is a typo. Since the 'Larger' menu item is selected based on the Scripted Instructions, I think the assertion should read, "The name 'Larger' is conveyed." |
For Test 23: Read menu item radio button in submenu in interaction mode, it should be noted that, for VoiceOver (on Safari, at least), while the group role and group name assertions would not be passed by this test, that information is available if the user navigates the menu using VO+Arrow. Not sure if that should be added as a different test, or somehow noted elsewhere, or if we just want to not worry about it, but I worry this may give a misleading impression about support for this structure on VoiceOver. |
@jongund @mcking65 I finished my review and comparison to a native menubar for JAWS. See the list of suggestions at the end of #54 (comment). I'm happy to answer any questions. |
@mfairchild365 commented:
Agree, we only want to make assertions about role and name of the menubar in the tests related to navigating to the menubar itself. It is worth noting that if you do not have JAWS loading from the system tray, and if you navigate to the native JAWS menubar in the main JAWS window by pressing "Alt", JAWS announces the menubar role. And, in the JAWS menubar, there is no position or setsize information like there is in the Firefox menubar. So, the behavior is different in different apps.
Have this now in #184
Since the menu closes, we can't really test state changes. Those have been removed. I wish the editor menubar would put focus in the text area when it closes. It would be more realistic that way. But, that is an APG issue.
Definitely agree here. Amazing this info is not communicated.
Agree that it is OK to keep them. Although, this is one where I can anticipate changing my mind after working with this more.
Yes, this is an important feature of ARIA; it would be good if this existed natively. |
I am going to go ahead and merge #184. I think it is really important to get the improvements to the ability to format instructions into all the examples. That said, I still see need to make multiple changes to menubar. I will make them in a separate PR as suggested by @mfairchild365. The biggest issue is that reading mode in JAWS and NVDA are so different that, in order to respect their perspectives on design, we will need to tailor assertions to each. This is a good test for demonstrating that even with very different approaches, different screen readers can fully support the ARIA necessary to make the widget understandable. It is not our job to say which presentation of accessibility semantics is more understandable; it is our job to find out whether the presentation made by each screen reader sufficiently represents the accessibility semantics in the user interface. Then, there are some odd little issues like shift+tab does not cause a mode change for JAWS or NVDA because the text area also triggers interaction mode. So, for that test, we will test only Tab, not Shift+Tab. Or, we might be able to test shift+Tab, but it will need its own instructions. I am leaning toward not bothering with shift+Tab. |
APG design pattern: https://w3c.github.io/aria-practices/#menu
The text was updated successfully, but these errors were encountered: