Skip to content

feat: textarea/Datepicker updates - fix pipeline#2480

Merged
amir-ba merged 13 commits intotelekom:mainfrom
obstmi:feat/add-hide-label-visually-2-update-snapshots
Apr 10, 2026
Merged

feat: textarea/Datepicker updates - fix pipeline#2480
amir-ba merged 13 commits intotelekom:mainfrom
obstmi:feat/add-hide-label-visually-2-update-snapshots

Conversation

@obstmi
Copy link
Copy Markdown
Collaborator

@obstmi obstmi commented Apr 9, 2026

added 2 snapshot updates to:
#2471

@obstmi obstmi requested review from amir-ba and maomaoZH as code owners April 9, 2026 16:04
Copilot AI review requested due to automatic review settings April 9, 2026 16:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR implements the hide-label-visually feature for both scale-textarea and scale-date-picker components, allowing labels to be visually hidden while remaining accessible to screen readers. This is part of PR #2471's broader "Hidden Label Visually" implementation update.

Changes:

  • Added hideLabelVisually prop to both textarea and date-picker components
  • Implemented CSS styling to hide labels visually using visibility: hidden with appropriate padding adjustments
  • Added comprehensive test coverage including spec, e2e, and snapshot tests for textarea
  • Updated HTML test files with examples demonstrating the feature
  • Fixed an accessibility bug in textarea by correcting aria-describedBy to aria-describedby
  • Updated component documentation to include the new property

Reviewed changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
textarea.tsx Added hideLabelVisually prop and CSS class application, fixed aria-describedby attribute
textarea.spec.ts Added snapshot and unit tests for the new property
textarea.e2e.ts Added e2e tests to verify CSS class behavior
textarea.css Added styles to hide label and adjust padding
textarea readme.md Documented the new property in alphabetical order
textarea.html New HTML test page demonstrating the hidden label feature
date-picker.tsx Added hideLabelVisually prop and CSS class application
date-picker.css Added styles to hide label and adjust padding
date-picker readme.md Documented the new property in alphabetical order
date-picker.html Added example section demonstrating the hidden label feature
date-picker visual snapshot Updated visual test snapshot for the standard variant
textarea snapshot Updated with new hide-label-visually test snapshot

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@amir-ba amir-ba merged commit 76262a5 into telekom:main Apr 10, 2026
8 checks passed
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.

4 participants