-
Notifications
You must be signed in to change notification settings - Fork 4
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
fix: sd-input a11y #1615
base: main
Are you sure you want to change the base?
fix: sd-input a11y #1615
Conversation
🚀 Storybook has been deployed for branch |
This reverts commit 5cc342b.
Checked. No todos on our end needed. |
render: () => | ||
html`<div class="flex flex-rows gap-12"> | ||
<sd-input label="Label" spellcheck> | ||
<sd-icon label="landscape" library="global-resources" name="system/picture" slot="left"></sd-icon> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
library="global-resources" is deprecated, no library is needed to be referenced. the icon name may be different, check the figma.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the information @auroraVasconcelos. Was this documented somewhere that I may have missed it? I still see lots of places in the codebase with this.
Co-authored-by: Paulo Vareiro <58229468+paulovareiro29@users.noreply.github.com>
# Conflicts: # packages/docs/src/stories/templates/input.stories.ts
Description:
This PR closes 1479 and 1520
It also introduces custom spin buttons for number inputs which improves the component accessibility since now all changes in a type="number" input are correctly announced by screen readers.
@MartaPintoTeixeira @coraliefeil in this PR there are copy changes, mainly for
max-length
andmin-length
. Please consider them to align with Figma. If you have any questions, please let me know.-> Checked. No todos on our end needed.
Definition of Reviewable: