Open ThusharaJ07 opened 1 week ago
Will need information whether expectation is the same between static adornment and button adornments
Goal: S(3)
Pepper team to provide more information (update this story)
Updates:
Update static adornment examples with a11y recommendation, likely via aria-describedby
Package name(s)
Core (@salt-ds/core)
Package version(s)
@salt-ds/core": "1.29.0
Description
Adornments should be read similar to a placeholder when user lands on the text input field. Based on the current configuration for the end adornment of “USD”, the Salt storybook shows a configuration where the salt Text element is passed which results in the attached image. <Input endAdornment={USD } defaultValue={args.defaultValue ?? "Value 1"} {...args} />
https://storybook.saltdesignsystem.com/?path=/story/core-input--with-static-adornments
Steps to reproduce
Use screenreader to tab onto field in example.
Expected behavior
Screenreader should announce something like “Edit text, USD"
Operating system
Browser
Are you a JPMorgan Chase & Co. employee?