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

VoiceOver: Locked menu item children announced as "clickable" #155

Closed
swashbuck opened this issue Jun 23, 2023 · 1 comment
Closed

VoiceOver: Locked menu item children announced as "clickable" #155

swashbuck opened this issue Jun 23, 2023 · 1 comment

Comments

@swashbuck
Copy link
Contributor

swashbuck commented Jun 23, 2023

Subject of the issue

When using the VoiceOver screenreader and navigating to a locked menu item, child elements that receive focus are announced as "clickable". This is misleading since locked menu items cannot be clicked.

Cause

VoiceOver announces "clickable" when an element or one of its ancestors has a click event handler. The click event is assigned to the .menu-item and then delegated to the <button> with the js-btn-click class.

Looking for advice on how to handle this issue. I believe Backbone attaches any event to the view's el (the .menu-item in this case), so not sure how we could work around this?

Steps to reproduce

  1. Enable VoiceOver
  2. Navigate to a locked menu item
  3. Navigate to the title within this item.

Expected behaviour

"clickable" should not be announced on the title since the item is locked and cannot be clicked.

Actual behaviour

"clickable" is announced

@swashbuck swashbuck changed the title Accessibility: Menu item children announced as clickable when item is locked Accessibility: Locked menu item children announced as clickable Jun 23, 2023
@swashbuck swashbuck changed the title Accessibility: Locked menu item children announced as clickable Accessibility: Locked menu item children announced as "clickable" Jun 23, 2023
@swashbuck swashbuck changed the title Accessibility: Locked menu item children announced as "clickable" VoiceOver: Locked menu item children announced as "clickable" Jun 26, 2023
@swashbuck
Copy link
Contributor Author

After reviewing this ticket on PC, I am not experiencing the issue on JAWS or NVDA, only Mac VoiceOver. I think we can attribute this to an issue with VoiceOver, so I'll close this ticket. I've also updated the ticket title and description for posterity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant