vmware-archive / clarity

Clarity is a scalable, accessible, customizable, open source design system built with web components. Works with any JavaScript framework, built for enterprises, and designed to be inclusive.
http://clarity.design
MIT License
6.43k stars 763 forks source link

chore(core:docs): add roles to storybook stories #6635

Closed ashleyryan closed 2 years ago

ashleyryan commented 2 years ago

fixes #6634

Signed-off-by: Ashley Ryan asryan@vmware.com

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

What is the current behavior?

Add role="img" to icons in stories and add better grouping with role="group" for form fields

Issue Number: 6634

What is the new behavior?

Does this PR introduce a breaking change?

Other information

image

ashleyryan commented 2 years ago

Waiting to hear back from @scroniser on a couple of questions I had