Skip to content

fix(ui5-step-input, ui5-switch): support label 'for' attribute in aria-label#13057

Merged
didip1000 merged 2 commits into
mainfrom
balkan-for-attr
Feb 11, 2026
Merged

fix(ui5-step-input, ui5-switch): support label 'for' attribute in aria-label#13057
didip1000 merged 2 commits into
mainfrom
balkan-for-attr

Conversation

@didip1000
Copy link
Copy Markdown
Contributor

Adds support for 'for' attribute to ui5-switch and ui5-step-input.

Usage

<ui5-label for="switch">Enable notifications</ui5-label>
<ui5-switch id="switch"></ui5-switch>

This will set the aria-label of the ui5-switch to "Enable notifications", which can be read by screen readers. Similarly, you can do this for the ui5-step-input.

Related to: #10710

@didip1000 didip1000 changed the title feat(ui5-step-input, ui5-switch): support label 'for' attribute in aria-label fix(ui5-step-input, ui5-switch): support label 'for' attribute in aria-label Feb 10, 2026
@ui5-webcomponents-bot
Copy link
Copy Markdown
Collaborator

ui5-webcomponents-bot commented Feb 10, 2026

🧹 Preview deployment cleaned up: https://pr-13057--ui5-webcomponents.netlify.app

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 10, 2026 12:18 Inactive
@didip1000 didip1000 marked this pull request as ready for review February 10, 2026 12:52
@didip1000 didip1000 merged commit 1ea6d5e into main Feb 11, 2026
14 checks passed
@didip1000 didip1000 deleted the balkan-for-attr branch February 11, 2026 08:01
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 11, 2026 08:01 Inactive
@ilhan007
Copy link
Copy Markdown
Collaborator

ilhan007 commented Mar 7, 2026

🎉 This issue has been resolved in version v2.20.0-rc.0 🎉

The release is available on v2.20.0-rc.0

Your semantic-release bot 📦🚀

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.

5 participants