Repository navigation
v1.1.1
Patch Changes
-
Accessibility fixes for
PasteFieldandCopyField. No API changes; no bundle growth.- Fix:
PasteField.Zoneaccessible name. The zone set botharia-labelandaria-labelledby, andaria-labelledbywins, so a customzoneLabelmessage oraria-labelprop was silently ignored. The zone is now named byaria-labelonly ("Paste area for Notes"). Passaria-labelledbyyourself if you want to name it from another element. - Fix: reduced motion in
PasteField.Trigger. The default label crossfade now respectsprefers-reduced-motion, matchingCopyField.Trigger. Both triggers now share one label component. - New:
aria-busyon triggers.CopyField.TriggerandPasteField.Triggersetaria-busy="true"while a copy or paste is in flight, so screen readers know the action is in progress. The button is still neverdisabled, so focus stays put. - New:
aria-keyshortcutsonPasteField.Zone. Defaults to"Control+V Meta+V"so screen-reader users hear how to paste. Override it with your ownaria-keyshortcutsprop. - Docs:
maxRetriesJSDoc now states that0disables retry andInfinityallows unlimited retries.
- Fix: