Tags: Trendyol/baklava
Tags
feat(calendar): Enhance accessibility by adding visually hidden text … ( #940) ### Changes - Added visually hidden text to the navigation buttons for improved accessibility: - `<span class="visually-hidden">Previous Calendar View</span>` was added to the previous button. - `<span class="visually-hidden">Next Calendar View</span>` was added to the next button. ### CSS - Added the following CSS class to hide the text visually while keeping it accessible to screen readers: ```css .visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; } ### Related Issue Fixes #939 --------- Co-authored-by: Erbil <erbilnas071@gmail.com>
feat(switch): update cursor style to not-allowed when disabled (#943) This PR updates the cursor style of the Switch component to `not-allowed` when it is disabled, improving user experience by indicating that the component is not interactive in its disabled state. ### Changes - Added the following CSS rule to the Switch component: ```css :host([disabled]) .switch { opacity: 0.5; cursor: not-allowed; /* added this part */ } ### Issue Resolved this PR resolves #942 Co-authored-by: Buse Selvi <106681486+buseselvi@users.noreply.github.com>
Merge branch 'main' of https://github.com/Trendyol/baklava
PreviousNext