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

fix(settings): federation scope menu a11y #43098

Merged
merged 3 commits into from
Jan 25, 2024

Conversation

ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Jan 24, 2024

Summary

Use new radio behavior feature from NcActionButton.

  • Remove intermediate FederationControlAction
    • NcActions doesn't fully support intermediate components
    • Fixes the menu role
    • Fixes keyboard navigation - Tab switches to the next UI element
  • Use new type="radio"
    • Adjusts to menuitemradio role
  • Remove custom styles to use new defaults
  • Slightly fix padding on a small additional button
    Before After
    image image

Screenshots

Before After
image image

We also have now the default design for radio menus. See discussion in nextcloud-libraries/nextcloud-vue#4744 (comment)

So I also removed the custom design. cc @nextcloud/designers

Old custom design New default design
image image

Checklist

Copy link
Contributor

@JuliaKirschenheuter JuliaKirschenheuter left a comment

Choose a reason for hiding this comment

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

🥳

Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

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

Very nice, looks great to me design-wise. :)

@susnux susnux merged commit 8e9d89a into master Jan 25, 2024
45 checks passed
@susnux susnux deleted the fix/41903/settings--change-scope-a11y branch January 25, 2024 10:41
@JuliaKirschenheuter
Copy link
Contributor

/backport to stable28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants