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

Enable context menu shortcut for file list items in a commit #17143

Merged
merged 3 commits into from Aug 1, 2023

Conversation

sergiou87
Copy link
Member

@sergiou87 sergiou87 commented Jul 30, 2023

xref. https://github.com/github/accessibility-audits/issues/4934

Description

As with other PRs to fix this kind of issue, this PR just removes the onContextMenu from the file item row div element, and uses the List's onRowContextMenu in order to make VoiceOver's context menu shortcut work in the file list of a commit.

Release notes

Notes: [Fixed] Enable context menu keyboard shortcut for file lists

@sergiou87 sergiou87 changed the title Enable context menu shortcut for file list items Enable context menu shortcut for file list items in a commit Jul 30, 2023
tidy-dev
tidy-dev previously approved these changes Jul 31, 2023
Copy link
Contributor

@tidy-dev tidy-dev left a comment

Choose a reason for hiding this comment

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

🛻 Nice that the onContextMenu was already where it needed to be for this. :)

@sergiou87 sergiou87 merged commit a2315a7 into development Aug 1, 2023
7 checks passed
@sergiou87 sergiou87 deleted the fix-context-menu-shortcut-file-list branch August 1, 2023 01:17
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