Skip to content

[no ci] feat(1958): add template to sd-input without label but still accessible#2964

Draft
clemens-vi wants to merge 1 commit intofeat/issue-workflow-mcpfrom
feat/ui-1958-add-template-to-sd-input-without-label-but-still-accessible
Draft

[no ci] feat(1958): add template to sd-input without label but still accessible#2964
clemens-vi wants to merge 1 commit intofeat/issue-workflow-mcpfrom
feat/ui-1958-add-template-to-sd-input-without-label-but-still-accessible

Conversation

@clemens-vi
Copy link
Copy Markdown

NOTE: implemented by agent "Github Issue implementer"

Description:

This pull request adds new accessibility-focused examples and corresponding automated tests for visually hidden labels in both combobox and search input components. These changes demonstrate how to implement visually hidden labels that remain accessible to screen readers, following WCAG guidelines.

Accessibility examples:

  • Added a new story, ComboboxWithVisuallyHiddenLabel, in combobox.stories.ts to showcase a search combobox with a visually hidden label, including styling and usage notes compliant with WCAG.
  • Added a new story, InputWithVisuallyHiddenLabel, in input.stories.ts to demonstrate a search input with a visually hidden label, complete with appropriate styling and accessibility warnings.

Automated accessibility tests:

  • Introduced a Playwright test, Combobox With Visually Hidden Label, in combobox.a11y.ts to verify the accessibility tree for the new combobox example.
  • Added a Playwright test, Input With Visually Hidden Label, in input.a11y.ts to check the accessibility tree for the new input example.

Definition of Reviewable:

  • E2E tests (features, a11y, bug fixes) are created/updated
  • Stories (features, a11y) are created/updated

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 29, 2026

⚠️ No Changeset found

Latest commit: 9f6c65d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@github-actions
Copy link
Copy Markdown
Contributor

🚀 Storybook has been deployed for branch feat_ui-1958-add-template-to-sd-input-without-label-but-still-accessible

@mariohamann mariohamann marked this pull request as draft April 29, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📋 Backlog

Development

Successfully merging this pull request may close these issues.

1 participant