Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(pie-storybook): DSW-000 add isVisuallyHidden to the assistive text stories #1997

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

raoufswe
Copy link
Member

@raoufswe raoufswe commented Oct 16, 2024

Describe your changes (can list changeset entries if preferable)

While working on my radio ticket, I noticed that the isVisuallyHidden in the pie-assistive-text component stories wasn't bound / hooked correctly. This PR is to fix that.

Author Checklist (complete before requesting a review)

  • I have performed a self-review of my code
  • I have reviewed the PIE Storybook/PIE Docs PR preview

Reviewer checklists (complete before approving)

Reviewer 1 - @jamieomaguire

  • I have reviewed the PIE Storybook/PIE Docs PR preview

Reviewer 2

  • I have reviewed the PIE Storybook/PIE Docs PR preview

Copy link

changeset-bot bot commented Oct 16, 2024

🦋 Changeset detected

Latest commit: d417552

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
pie-storybook Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@raoufswe raoufswe marked this pull request as ready for review October 16, 2024 14:31
@raoufswe raoufswe requested review from a team as code owners October 16, 2024 14:31
@pie-design-system-bot
Copy link
Contributor

pie-design-system-bot commented Oct 16, 2024


Fails
🚫 You currently have an unchecked checklist item in your PR description.

Please confirm this check has been carried out – if it's not relevant to your PR, delete this line from the PR checklist.

Generated by 🚫 dangerJS against d417552

@github-actions github-actions bot temporarily deployed to pie-storybook-pr-1997 October 16, 2024 14:37 Inactive
@github-actions github-actions bot temporarily deployed to pie-storybook-pr-1997 October 16, 2024 15:11 Inactive
@@ -28,6 +28,13 @@ const assistiveTextStoryMeta: AssistiveTextStoryMeta = {
summary: defaultProps.variant,
},
},
isVisuallyHidden: {
description: 'If true, hides the component visually but leaves it accessible for a11y technologies.',
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
description: 'If true, hides the component visually but leaves it accessible for a11y technologies.',
description: 'If true, hides the component visually but leaves it accessible for screen readers.',

This might be clearer, or saying 'accessibility' rather than 'ally' just in case it isn't as obvious :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants