form-states

Installation
SKILL.md

Form States

A form spends most of its life at rest, and the moments that decide whether it feels solid are the others: while it sends, when it fails, when it refuses a value. This skill covers those states. Where a refusal stands on the page, and why nothing moves under the pressed button, is the layout-stability skill's.

Busy

While its form submits, or while it waits for an answer that a second press would race, a control is busy: it keeps focus and refuses input.

  • Busy renders aria-disabled="true" on the element that takes focus. It is valid on every control role and announced by every screen reader, and the control stays in the Tab order, so focus is not thrown to the page.
  • Busy is not disabled. A disabled control loses focus and leaves the Tab order; a disabled control is never busy.
  • Busy is not the busy marker of anything else:
    • not readonly, which keeps its native meaning: a busy text field sets the native attribute itself, as its way to refuse typing;
    • not aria-readonly, invalid on a radio and a button, and ignored by Firefox and VoiceOver;
    • not aria-busy, which marks content being updated, and on a form can mute its error live regions in NVDA with Firefox.
  • The same idea in other kits: isPending (React Aria), focusableWhenDisabled (Base UI), disabledFocusable (Fluent UI).

How each control refuses

Checked in real browsers and devices:

Installs
1
First Seen
8 days ago