-
-
Notifications
You must be signed in to change notification settings - Fork 252
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
Keyboard and Screenreader a11y improvements #666
Keyboard and Screenreader a11y improvements #666
Conversation
thanks for this @bgareth , please let me know when this is ready for review! |
Thank you so much, @sanchit3008. This is ready for review. Please let me know if you have any questions or requests. Separate note: once we are happy with the state of a11y for this project, we intend to add significant translation support as discussed last year. |
I noticed another weakness in keyboard functionality around accessing the cell range context menu. I will get working on a commit, but if this review is complete by the time I am done, then I will separate it out to a new PR. |
You can include this in the pr itself, however it's going to take me some
time to review due to personal commitments
…On Fri, 14 Feb, 2025, 20:15 Gareth B., ***@***.***> wrote:
I noticed another weakness in keyboard functionality around accessing the
cell range context menu. I will get working on a commit, but if this review
is complete by the time I am done, then I will separate it out to a new PR.
—
Reply to this email directly, view it on GitHub
<#666 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFJLLTDGULKAZ67E4RMOPD32PX6PDAVCNFSM6AAAAABWUEHIJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJZGUYTKNRXGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: bgareth]*bgareth* left a comment (ruilisi/fortune-sheet#666)
<#666 (comment)>
I noticed another weakness in keyboard functionality around accessing the
cell range context menu. I will get working on a commit, but if this review
is complete by the time I am done, then I will separate it out to a new PR.
—
Reply to this email directly, view it on GitHub
<#666 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFJLLTDGULKAZ67E4RMOPD32PX6PDAVCNFSM6AAAAABWUEHIJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJZGUYTKNRXGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks, @sanchit3008. No rush. |
Thanks @bgareth. I'll review the PR today ✨ |
![]() In this PR, adding new sheets pushes the new sheet tabs vertically instead of horizontally. Can you please fix it @bgareth |
Thanks for all the assistance, @Corbe30 and @sanchit3008. I will address the context menu keyboard improvements in another PR. So this can be merged if you are happy. |
@@ -682,6 +768,37 @@ export function handleGlobalKeyDown( | |||
// return; | |||
// } | |||
|
|||
// Toggle focus with Ctrl + Shift + F (independent of sheet focus state) | |||
if (e.ctrlKey && e.shiftKey && kstr === "F") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should also occur in e.metaKey + e.shiftKey + F
, right @sanchit3008?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if so, we can move this inside handleWithCtrlOrMetaKey()
itself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy to explore improvements here if needed. However, I left this action in a different scope so it can happen despite ctx.sheetFocused
and the if (!ctx.sheetFocused) {return}
could catch everything else.
Thanks for fixing the sheet tabs bug @bgareth! I've left some new comments, can you please fix those too |
This PR is about implementing keyboard and screenreader a11y improvements.
Notable changes:
Notes: