You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(upload): a11y — configurable heading level in drag-drop, aria-required on file inputs
- it-upload-drag-drop: replaces hardcoded <h5> with a configurable heading-level
prop (default h3, styled via class="h5" so visual size is unchanged). Follows
the unsafeStatic/staticHtml pattern used by it-card and it-notification.
Adds DRAG_DROP_HEADING_LEVELS const + DragDropHeadingLevel type to types.ts.
Updates SCSS to apply the same margin/color rules to all heading tags, not only h5.
Exposes heading-level select control in Storybook.
- it-upload-drag-drop + it-upload-avatar: adds aria-required="true" to the visible
<input type="file"> when required is set, so AT users hear the required state on
the interactive element they actually tab to. The hidden proxy input (needed for
FormControl native validation) is unchanged.
Tests: 10 new assertions in upload-drag-drop.test.ts and upload-avatar.test.ts;
all 106 tests pass on Chromium, Firefox, WebKit.
Closes#77
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: review fixes, better a11y
* chore: changeset
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments