Repository navigation
fix(ui): fix click event for a11y - #879
Merged
Merged
Conversation
saw-jan
force-pushed
the
fix/a11y-space-browser
branch
from
April 23, 2026 04:12
b9ed968 to
5659654
Compare
saw-jan
marked this pull request as ready for review
April 23, 2026 04:13
Signed-off-by: Saw-jan <[email protected]>
Signed-off-by: Saw-jan <[email protected]>
saw-jan
force-pushed
the
fix/a11y-space-browser
branch
from
July 17, 2026 04:27
2062276 to
a800140
Compare
guruz
approved these changes
Aug 20, 2026
guruz
left a comment
Contributor
There was a problem hiding this comment.
I haven't tested this but looks OK to me
TheOneRing
reviewed
Aug 24, 2026
| ToolTip.delay: 500 | ||
|
|
||
| Accessible.name: accountState.account.displayNameWithHost | ||
| Accessible.onPressAction: { |
Contributor
There was a problem hiding this comment.
Why is the account button special, shouldn't all buttons in the top bar require this special handling?
I see why it might be needed for the space view, where we use a custom MouseArea
Contributor
Author
There was a problem hiding this comment.
yes true, same issue happens for settings and other topbar items.
Contributor
Author
There was a problem hiding this comment.
Except Add Account button item. Other topbar items have Accessible.role: Accessible.PageTab which is the cause for the issue and we need Accessible.onPressAction to for those tabs as well.
Contributor
There was a problem hiding this comment.
Aaaah I see, thank you.
Contributor
Author
|
I will do the follow up PR for other tabs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #876 (comment)
This allows the a11y tools to perform the click action on the element, same action as done inside
onClickedAdjust the tests after this merge: