-
-
Notifications
You must be signed in to change notification settings - Fork 828
Keep number field in focus when pressing dialpad buttons #6520
Conversation
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.
is the dial pad easy to get access to as a regular user? If so, I'd like to see this run by the accessibility community to ensure it's not breaking any patterns they might have.
The current plan is to test the accessibility this week as part of a general accessibility test for other parts of the app. |
@t3chguy Thanks for testing - it was sorely needed! I can fix up 4. in this PR. Would it be best to put the rest in separate (or just one meta) issue(s) perhaps? |
probably one issue regarding 1:1 voip accessibility would be fine for the other points |
@t3chguy should hopefully have covered them all. Thanks for the review, obviously my typescript type game is still lacking! |
… anoa/dialpad_field_focus
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.
…rop-filter * origin/develop: (1278 commits) Add a little padding Keep number field in focus when pressing dialpad buttons (#6520) Remove old version Fix video call persisting when widget removed Update link to matrix-js-sdk CONTRIBUTING file (#6557) $toast-bg-color -> $system $system-... -> $system Iterate PR based on feedback Remove unnecessary code Use AccessibleTooltipButton Just upload the PR object itself Edit PR Description instead of commenting publish the right directory Fix Netflify builds from fork PRs This doesn't need to be here as it was moved into CallViewButtons Make scrollbar dot transparent Iterate PR based on feedback Don't set hidden RRs labs setting at account level Add a comment for weirdly placed div Add full class names to animations.scss ...
This PR prevents the dial pad text entry field from losing focus whenever a dial pad digit or the backspace button is pressed. This is useful as you can continue to use your keyboard to enter digits after you've clicked on a digit or the backspace button with the mouse.
Note that the in-call dial pad does not feature a backspace button.
Before:
After:
Signed-off-by: Andrew Morgan <[email protected]>
Notes: Prevent the number field in the dial pad from losing keyboard focus when a digit or the backspace button is pressed.
Preview: https://61155ddddcb64a08fdbe311f--matrix-react-sdk.netlify.app
⚠️ Do you trust the author of this PR? Maybe this build will steal your keys or give you malware. Exercise caution. Use test accounts.