Documentation - Button component disabled option
- Dominant language
- JavaScript
- Stars
- 10
- Forks
- 8
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 21
Description
I needed to get the disabled state for a button for an application that I'm building and I was surprised it wasn't part of the core states shown on the front page. It was hard to find the example. Thanks!
The Disabled option is available under the Code tab of the Button component: https://design-system.alpha.canada.ca/en/components/button/code/
However it’s not mentioned anywhere in the documentation under the Use Case tab: https://design-system.alpha.canada.ca/en/components/button/
Freshdesk ticket - https://cds-snc.freshdesk.com/a/tickets/25488
Contributor guide
Research direction
Start with the Button component's Use Case and Code pages linked in the issue, comparing how the disabled option is presented. Update the Use Case documentation so the disabled state is mentioned where users look for core states, and confirm the example remains discoverable from that page.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100