Skip to content

Conversation

@amyleadem
Copy link
Contributor

@amyleadem amyleadem commented Aug 29, 2023

Summary

Removed the outdated aria_disabled data item from the button story.

Breaking change

This is not a breaking change.

Related issue

Closes #5395

Related pull requests

No changelog needed since this is an internal-facing change.

Preview link

Button component

Problem statement

The button story templates were refactored in #5063 to remove the conditional check for aria_disabled. However, the usa-button.json file still has the outdated aria_disabled data item.

Solution

Removed the outdated aria_disabled data item from the button story.

All other aria_disabled data references for button were removed in #5063. It appears as though this one was accidentally left out.

Testing and review

  • Confirm that there is no need for the aria-disabled data item
  • Confirm that the aria_disabled data item (and Storybook control) were removed

@amyleadem amyleadem marked this pull request as ready for review August 29, 2023 20:53
@amyleadem amyleadem requested review from mahoneycm and mejiaj August 29, 2023 20:53
Copy link
Contributor

@mahoneycm mahoneycm left a comment

Choose a reason for hiding this comment

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

Lgtm!

  • Confirmed aria-disabled control is not needed
  • Confirmed control is appropriately removed

@mejiaj mejiaj requested a review from thisisdano September 8, 2023 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

USWDS - Bug: Storybook Control for aria-disabled not working

5 participants