kirbydesign / designsystem

Kirby Design System
https://cookbook.kirby.design
MIT License
85 stars 23 forks source link

Button: add `aria-disabled` support #3699

Closed jakobe closed 2 weeks ago

jakobe commented 2 weeks ago

Which issue does this PR close?

This PR closes no issue, but is a pre-burner to #3681

What is the new behavior?

Add support for aria-disabled on Button component:

Setting aria-disabled="true" on the Button component will render the button as disabled and prevent activation through mouse, touch and keyboard but still allow the button to be focused and therefore percieveable.

Does this PR introduce a breaking change?

Are there any additional context?

Checklist:

The following tasks should be carried out in sequence in order to follow the process of contributing correctly.

Reminders

Review

When the pull request has been approved it will be merged to develop by Team Kirby.