Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

[terra-button] Button left align wrapped text #4081

Merged
merged 3 commits into from
Apr 4, 2024
Merged

Conversation

cm9361
Copy link
Contributor

@cm9361 cm9361 commented Apr 3, 2024

Summary

What was changed:
The Terra Button was updated such that text that wraps would be left aligned when the isLeftAligned property is enabled.

Why it was changed:
The change was made to satisfy use cases found in the MPages Fusion workflows.

Testing

This change was tested using:

  • WDIO
  • Jest
  • Visual testing (please attach a screenshot or recording)
  • Other (please describe below)
  • No tests are needed

Reviews

In addition to engineering reviews, this PR needs:

  • UX review
  • Accessibility review
  • Functional review

Additional Details

This PR resolves:

UXPLATFORM-XXXX


Thank you for contributing to Terra.
@cerner/terra

@cm9361 cm9361 requested a review from a team as a code owner April 3, 2024 16:26
@github-actions github-actions bot temporarily deployed to preview-pr-4081 April 3, 2024 16:41 Destroyed
@mjpalazzo
Copy link
Contributor

@cm9361 - I validate the left justified button with keyboard and with JAWS. It is working as required.

@saket2403 saket2403 merged commit a02a456 into main Apr 4, 2024
22 checks passed
@saket2403 saket2403 deleted the button-left-align branch April 4, 2024 04:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants