diff --git a/.changeset/otp-mosaic-field.md b/.changeset/otp-mosaic-field.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/otp-mosaic-field.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/headless/src/primitives/otp/README.md b/packages/headless/src/primitives/otp/README.md index 5e2d2f3f289..57f36f0909c 100644 --- a/packages/headless/src/primitives/otp/README.md +++ b/packages/headless/src/primitives/otp/README.md @@ -159,6 +159,13 @@ and the `Ctrl`/`Cmd` boundary jumps stay logical (first / last-entered). ## ARIA - `Root` is a `role="group"`; give it an `aria-label` (or `aria-labelledby`) describing the code. -- Each `Input` gets a default `aria-label` of `"Character N of M"`, overridable per input. +- `Root`'s `id` lands on the first `Input`, not the group, so a `