Skip to content

Add label control association and focus forwarding - #125

Open
cowboyd wants to merge 1 commit into
mainfrom
dom-label-focus
Open

cowboyd wants to merge 1 commit into
mainfrom
dom-label-focus

Conversation

@cowboyd

@cowboyd cowboyd commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Resolves HTMLLabelElement.control from its for attribute or first labelable descendant, and forwards label focus to the associated control.

Type of change

  • Bug fix
  • Feature
  • Refactor (no behavior change)
  • Documentation
  • Performance improvement
  • Tests
  • Chore (dependencies, CI, tooling)

Checklist

  • All tests pass (pnpm test)
  • Files are formatted (pnpm format)
  • I have added/updated tests for my changes (if applicable)
  • I have added a changeset

AI-generated code disclosure

  • This PR includes AI-generated code

@cowboyd
cowboyd added this pull request to stack #114 December 1, 2026 18:03
@pkg-pr-new

pkg-pr-new Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

commit: e131258

@cowboyd
cowboyd force-pushed the focusability branch 2 times, most recently from c7348b1 to d5e67c6 Compare December 1, 2026 18:17
@cowboyd
cowboyd force-pushed the dom-label-focus branch 2 times, most recently from 1ce065c to c6f6325 Compare December 1, 2026 18:58
@cowboyd
cowboyd marked this pull request as ready for review December 1, 2026 19:22
@cowboyd
cowboyd force-pushed the focusability branch 2 times, most recently from 692ffcf to b777363 Compare December 2, 2026 17:26
@cowboyd
cowboyd marked this pull request as draft December 2, 2026 22:22
@cowboyd cowboyd added the input focus, keyboard, editing, mouse, anything coming from the release. label Dec 2, 2026
@cowboyd cowboyd added this to the Alpha-1 milestone Dec 2, 2026
@cowboyd
cowboyd removed this pull request from stack #114 December 2, 2026 22:23
@cowboyd
cowboyd changed the base branch from focusability to main December 5, 2026 19:54
@cowboyd
cowboyd marked this pull request as ready for review December 6, 2026 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

input focus, keyboard, editing, mouse, anything coming from the release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants