Skip to content

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
@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

6 participants