Repository navigation
Conversation
Adds getColorLabel, defaulting to the hexadecimal code, and aria-pressed on each color. customColorProps also takes aria-label, aria-pressed and data-testid for the custom color button.
|
Caution Review failedThe pull request is closed. WalkthroughColorList adds a callback for color button labels and sets each button’s selected state using a case-insensitive color comparison. It also forwards custom button props, including the click handler. Tests cover keyboard activation, labels, selected state, and custom button props. The Default story supplies a color label and an accessible name for the custom color control. Suggested reviewers: Priority: Change: Feature Merge Risk:
|
Adds
getColorLabelandaria-pressedto the colors ofColorList, so a screen reader names each one and tells which is selected, and lets an app name and tag the custom color button.Summary by CodeRabbit