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

Replace ActionLink with ActionButton on sharing tab #41580

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

JuliaKirschenheuter
Copy link
Contributor

Replace ActionLink with ActionButton on sharing tab for better focus purposes

Summary

No visual changes.

Checklist

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
So-authored-by: Grigorii K. Shartsev <me@shgk.me>
@ShGKme ShGKme force-pushed the fix/a11y-replace_action_link_with_action_button branch from 304945f to ff2ef8d Compare November 17, 2023 15:55
Copy link
Contributor

@ShGKme ShGKme left a comment

Choose a reason for hiding this comment

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

Now it is not possible to use this button as a link:

  • No opening in a new tab with Middle mouse click or its context menu
  • No preview address on hover

However, previously this also was not a correct link:

  • It has a text "Copy link to clipboard", which represents an action, not a link
  • Click on the link did not open the page
  • Doesn't work well with keyboard navigation around other buttons (but could be fixed by tabindex=0)

I'm voting for a button here.

@ShGKme ShGKme merged commit 8e3a08d into master Nov 17, 2023
41 checks passed
@ShGKme ShGKme deleted the fix/a11y-replace_action_link_with_action_button branch November 17, 2023 16:55
@blizzz blizzz mentioned this pull request Nov 20, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants