Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions website/src/content/pages/components/field.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ The `Field` component provides contexts such as `invalid`, `disabled`, `required
While most Ark UI components natively support these contexts, you can also use the `Field` component with standard HTML
form elements.

> **Important:** Always render a `Field.Label` when using form controls inside a `Field`. The form control's
> `aria-labelledby` references the label's DOM element—omitting it creates a broken ARIA reference (WCAG 4.1.2 failure).
> If you don't want a visible label, visually hide it while keeping it in the DOM. Using `aria-label` alone is not
> sufficient because the Field integration overrides labelling via `aria-labelledby`.

### Input

This example shows how to use the `Field` component with a standard input field.
Expand Down