Repository navigation
Conversation
…s, and name the combobox pattern; tests guard the change order, cancelled keys, busy paint, and the grouped field
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report
Generated by PR Enrichment workflow | View current CI run |
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet, and it starts once the pull request is marked ready for review.
The MultiSelector docs now match the component: the English, Chinese and dense docs list every prop, each literal default is written down, and the new best practice's keys follow the component record. The four new unit tests pass and cover clauses the record lists as untested.
- Non-blocking: once this lands, the MultiSelector record's verification map still lists the evidence gaps these tests close (FR1, FR11, the
onKeyDownpart of FR13, and the change-order rule); a record edit that cites these tests keeps it accurate.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claim (changeset): the prop docs list
labelTooltipandref. Verified:MultiSelector.doc.mjs:323-328and:439-444; the prop-docs drift test passes with thelabelTooltipallowance removed. - Claim (changeset):
hasSelectAll,hasSearch,isDisabled,isLabelHidden,isOptional,isRequiredandisLoadingdefault tofalse. Verified against the destructured defaults inMultiSelector.tsx:1121-1143. - Claim (changeset): the Chinese docs gain
variant, and the Chinese and dense docs gainindicatorPosition,width,startIcon,hasClear,isDefaultOpen,labelTooltipandref. Verified:MultiSelector.doc.mjs:560,:587-594,:610,:765-770,:787; each matches its English entry. - Claim (changeset): the dense
onKeyDownentry says the handler is skipped for keys the built-in model handles and cancels. Verified:MultiSelector.doc.mjs:785-786, and the new test atMultiSelector.fr10.test.tsx:164. - Claim (changeset): a new best practice names the combobox pattern and its keys. Verified:
MultiSelector.doc.mjs:522-526,:646-650,:706-710, against the record's keyboard, grid and focus-return clauses. - Claim (title): the docs list every prop, its default, and the keys it follows. Verified: 50 props in each of the three doc sets, and every literal default in the code is documented.
- Claim (description): the audit is in progress and its scorecard lands before the pull request is ready. A status statement; nothing to verify at this head.
.changeset/multi-selector-audit-docs.md: clear.packages/cli/test/core-prop-docs.known-drift.json: clear.packages/core/src/MultiSelector/MultiSelector.doc.mjs: clear.packages/core/src/MultiSelector/MultiSelector.fr10.test.tsx: clear.packages/core/src/MultiSelector/MultiSelector.test.tsx: clear.packages/core/src/MultiSelector/__tests__/MultiSelectorAudit.a11y.chromium.spec.ts: clear; CI runs it on this audit pull request.
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet, and it starts once the pull request is marked ready for review.
The MultiSelector docs match the component, and this push's audit-spec change measures the control box, which is the press target the component record names. The drift test, the four new unit tests and the core typecheck pass on this head.
- Non-blocking: the
narrow-light-ltraudit case now passes at any viewport, because the Default story fixes a 300 px column inside 64 px of padding; it cannot support a 320 px reflow result in the audit scorecard unless it runs on a fixture whose field fills the viewport. - Non-blocking: once this lands, the MultiSelector record's verification map still lists the evidence gaps these tests close (FR1, FR11, the
onKeyDownpart of FR13, and the change-order rule); a record edit that cites these tests keeps it accurate.
Claims and files checked
Review mode: incremental; reason: none
- Claim (changeset): the prop docs list
labelTooltipandref. Verified:MultiSelector.doc.mjs:323-328and:439-444; the prop-docs drift test passes with thelabelTooltipallowance removed. - Claim (changeset):
hasSelectAll,hasSearch,isDisabled,isLabelHidden,isOptional,isRequiredandisLoadingdefault tofalse. Verified against the destructured defaults inMultiSelector.tsx:1121-1143. - Claim (changeset): the Chinese docs gain
variant, and the Chinese and dense docs gainindicatorPosition,width,startIcon,hasClear,isDefaultOpen,labelTooltipandref. Verified:MultiSelector.doc.mjs:560,:587-594,:610,:765-770,:787; each set now has an entry for all 50 props. - Claim (changeset): the dense
onKeyDownentry says the handler is skipped for keys the built-in model handles and cancels. Verified:MultiSelector.doc.mjs:785-786, and the new test atMultiSelector.fr10.test.tsx:164. - Claim (changeset): a new best practice names the combobox pattern and its keys. Verified:
MultiSelector.doc.mjs:522-526,:646-650,:706-710, against the record's keyboard, grid and focus-return clauses. - Claim (title): the docs list every prop, its default, and the keys it follows. Verified: 50 props in each of the three doc sets, and every destructured default in the code is documented.
- Claim (description): the audit is in progress and its scorecard lands before the pull request is ready. A status statement; nothing to verify at this head.
- Claim (commit): the audit spec measures the control box, the press target. Verified:
MultiSelector.tsx:1925-1935routes a press on the control box to the trigger, and the popup anchors to that box. .changeset/multi-selector-audit-docs.md: clear.packages/cli/test/core-prop-docs.known-drift.json: clear.packages/core/src/MultiSelector/MultiSelector.doc.mjs: clear.packages/core/src/MultiSelector/MultiSelector.fr10.test.tsx: clear.packages/core/src/MultiSelector/MultiSelector.test.tsx: clear.packages/core/src/MultiSelector/__tests__/MultiSelectorAudit.a11y.chromium.spec.ts: non-blocking note on the narrow case (above); otherwise clear.
…e search combobox
There was a problem hiding this comment.
Changes requested: one new prop description in the MultiSelector docs is wrong for searchable fields.
- Miss: the new
refentry (MultiSelector.doc.mjsline 443, and the Chinese entry at line 610) says the trigger is the button that carries the combobox role, but in an editable field withhasSearchthe trigger has no role and the search input is the combobox (MultiSelector.tsxline 2709), so both entries need to say that the role moves to the search input in that mode. - Non-blocking: the audit's search case accepts a second Escape and only records the count (
MultiSelectorAudit.a11y.chromium.spec.tslines 780-784), while the component closes on the first press, so a strict check keeps the receipt honest.
The other doc entries, defaults and keys match the component, and the drift test, the four new unit tests and the core typecheck pass on this head. CI has not run on this draft yet.
Claims and files checked
Review mode: incremental; reason: none
- Claim (title): the docs list every prop, its default, and the keys it follows. Verified: 50 props in each of the English, Chinese and dense sets, and every literal default is documented (the prop-docs drift test passes).
- Claim (description): the audit is in progress and its scorecard lands before the pull request is ready. A status statement; nothing to verify at this head.
- Claim (changeset): the prop docs list
labelTooltipandref. Verified present atMultiSelector.doc.mjs:323-328and:439-444; therefwording is the blocking finding above. - Claim (changeset): seven booleans default to
false. Verified against the destructured defaults inMultiSelector.tsx:1121-1143. - Claim (changeset): the Chinese docs gain
variant, and the Chinese and dense docs gainindicatorPosition,width,startIcon,hasClear,isDefaultOpen,labelTooltipandref. Verified:MultiSelector.doc.mjs:560,:587-594,:610,:765-770,:787. - Claim (changeset): the dense
onKeyDownentry says the handler is skipped for keys the built-in model handles and cancels. Verified:MultiSelector.doc.mjs:785-786and the new test atMultiSelector.fr10.test.tsx:164. - Claim (changeset): a new best practice names the combobox pattern and its keys. Verified:
MultiSelector.doc.mjs:522-526,:646-650,:706-710, against the component record's keyboard, grid and focus-return clauses. - Claim (first commit): tests guard the change order, cancelled keys, busy paint and the grouped field. Verified:
MultiSelector.test.tsx:632,:1910,:5406andMultiSelector.fr10.test.tsx:164pass. - Claim (second commit): the audit spec measures the control box, the press target. Verified:
MultiSelector.tsx:1925-1935routes a press on the control box to the trigger. - Claim (third commit): the search audit drives the plain trigger and the search combobox. Verified:
MultiSelector.tsx:2709drops the trigger's combobox role with search, and the search input carries it (:2031-2038). .changeset/multi-selector-audit-docs.md: clear.packages/cli/test/core-prop-docs.known-drift.json: clear.packages/core/src/MultiSelector/MultiSelector.doc.mjs: blocking finding on therefentries; otherwise clear.packages/core/src/MultiSelector/MultiSelector.fr10.test.tsx: clear.packages/core/src/MultiSelector/MultiSelector.test.tsx: clear.packages/core/src/MultiSelector/__tests__/MultiSelectorAudit.a11y.chromium.spec.ts: two non-blocking notes (the search case's second Escape, and the narrow case from the earlier inline comment); otherwise clear.
… the record's presentational message leaves
…, disabled axe, one Escape; docs: labelTooltip limit
… renders; spec comments give reasons
There was a problem hiding this comment.
Changes requested: one new prop description in the MultiSelector docs is still wrong for searchable fields.
- Miss: the new
refentry (MultiSelector.doc.mjsline 443, and the Chinese entry at line 611) says the trigger is the button that carries the combobox role, but in an editable field withhasSearchthe trigger has no role and the search input is the combobox (MultiSelector.tsxline 2709), so both entries need one sentence that names that exception and keeps therenderTriggercase in the first sentence the CLI prints.
The audit-spec changes in this push read correctly and type-check, and the prop-docs drift test, the new unit tests and the core typecheck pass on this head. Non-blocking: the new labelTooltip limit is accurate, but the CLI prints only its first sentence, and inside an InputGroup the group's own labelTooltip is the one to use (see the inline note). CI has not run on this draft yet.
Claims and files checked
Review mode: incremental; reason: none
- Claim (title): the docs list every prop, its default, and the keys it follows. Verified: 50 props in each of the English, Chinese and dense sets, every literal default documented (the prop-docs drift test passes), and the keys named in a best practice.
- Claim (description): the audit is in progress and its scorecard lands before the pull request is ready. A status statement; nothing to verify at this head.
- Claim (changeset): the prop docs list
labelTooltipandref. Verified atMultiSelector.doc.mjs:323-328and:439-444; therefwording is the blocking finding above. - Claim (changeset): seven booleans default to
false. Verified against the destructured defaults inMultiSelector.tsx:1121-1143. - Claim (changeset): the Chinese docs gain
variant, and the Chinese and dense docs gainindicatorPosition,width,startIcon,hasClear,isDefaultOpen,labelTooltipandref. Verified atMultiSelector.doc.mjs:560,:587-595,:611,:766-772and:789. - Claim (changeset): the dense
onKeyDownentry says the handler is skipped for keys the built-in model handles and cancels. Verified at:787-788and by the new test atMultiSelector.fr10.test.tsx:164. - Claim (changeset): a new best practice names the WAI-ARIA combobox pattern and its keys. Verified at
:522-526; the keys match the component's keyboard model and focus return. - Claim (latest commit):
labelTooltiphas no effect inside an InputGroup or withrenderTrigger. Verified: only the Field reads it (MultiSelector.tsx:2845), and neither path renders one; wording note inline. - Claim (latest commit): the audit's axe exception is scoped, the status check is per field, the disabled case runs axe, and the search case closes on one Escape. Verified at
MultiSelectorAudit.a11y.chromium.spec.ts:793-807,:573-589and:694-696. - File
.changeset/multi-selector-audit-docs.md: clear. - File
packages/cli/test/core-prop-docs.known-drift.json: clear; the drift test passes without the removed allowance. - File
packages/core/src/MultiSelector/MultiSelector.doc.mjs: the blockingreffinding, and the non-blockinglabelTooltipnote. - File
packages/core/src/MultiSelector/MultiSelector.fr10.test.tsx: clear. - File
packages/core/src/MultiSelector/MultiSelector.test.tsx: clear. - File
packages/core/src/MultiSelector/__tests__/MultiSelectorAudit.a11y.chromium.spec.ts: clear apart from the earlier non-blocking note on the narrow case, which still applies.
There was a problem hiding this comment.
Changes requested: one new prop description in the MultiSelector docs is still wrong for searchable fields.
- Miss: the new
refentry (MultiSelector.doc.mjsline 443, and the Chinese entry at line 611) says the trigger is the button that carries the combobox role, but in an editable field withhasSearchthe trigger has no role and the search input is the combobox (MultiSelector.tsxline 2709), so both entries need a sentence that names that exception.
The latest push makes the labelTooltip limit accurate, and the prop-docs drift test, the unit tests and the core typecheck pass on this head. Non-blocking: astryx component prints only the first sentence of each entry, so that limit, and the ref entry's renderTrigger case, stay out of its output. CI has not run on this draft yet.
Claims and files checked
Review mode: incremental; reason: none
- Claim (title): the docs list every prop, its default, and the keys it follows. Verified: 50 props in each of the English, Chinese and dense sets, every literal default the code sets (
MultiSelector.tsx:1121-1154) appears in the docs, and the keys are named in a best practice (MultiSelector.doc.mjs:525). - Claim (description): the audit is in progress and its scorecard lands before the pull request is ready. A status statement; nothing to verify at this head.
- Claim (changeset): the prop docs list
labelTooltipandref. Verified atMultiSelector.doc.mjs:323-328and:439-444; therefwording is the blocking finding above. - Claim (changeset): seven booleans default to
false. Verified against the destructured defaults inMultiSelector.tsx:1121-1154. - Claim (changeset): the Chinese docs gain
variant, and the Chinese and dense docs gainindicatorPosition,width,startIcon,hasClear,isDefaultOpen,labelTooltipandref. Verified atMultiSelector.doc.mjs:560,:587-595,:611,:766-772and:789. - Claim (changeset): the dense
onKeyDownentry says the handler is skipped for keys the built-in model handles and cancels. Verified at:787-788and by the new test atMultiSelector.fr10.test.tsx:164. - Claim (changeset): a new best practice names the WAI-ARIA combobox pattern and its keys. Verified at
:522-526; the keys match the component's keyboard model and focus return. - Claim (latest commit):
labelTooltiphas no effect inside an InputGroup or withrenderTrigger, where MultiSelector renders no label of its own. Verified: only the Field reads it (MultiSelector.tsx:2845), and the InputGroup andrenderTriggerpaths return without one (:2819-2821,:2554). - Claim (latest commit): the audit spec's comments give reasons. Comment-only change at
MultiSelectorAudit.a11y.chromium.spec.ts:444-445and:794-795. - File
.changeset/multi-selector-audit-docs.md: clear. - File
packages/cli/test/core-prop-docs.known-drift.json: clear; the drift test passes without the removed allowance. - File
packages/core/src/MultiSelector/MultiSelector.doc.mjs: the blockingreffinding, and the non-blocking first-sentence note. - File
packages/core/src/MultiSelector/MultiSelector.fr10.test.tsx: clear. - File
packages/core/src/MultiSelector/MultiSelector.test.tsx: clear. - File
packages/core/src/MultiSelector/__tests__/MultiSelectorAudit.a11y.chromium.spec.ts: clear apart from the earlier non-blocking note on the narrow case, which still applies.
There was a problem hiding this comment.
Changes requested: one new prop description in the MultiSelector docs is still wrong for searchable fields.
- Miss: the new
refentry (MultiSelector.doc.mjsline 443, and the Chinese entry at line 611) says the trigger is the button that carries the combobox role, but in an editable field withhasSearchthe trigger has no role and the search input is the combobox (MultiSelector.tsxline 2710), so both entries need a sentence that names that exception.
The other new entries, the false defaults and the keyboard guidance match the component, and the prop-docs drift test, the MultiSelector unit tests and the core typecheck pass on this head. Non-blocking: astryx component prints only the first sentence of each entry, so the labelTooltip limit stays out of its English output. CI has not run on this draft yet.
Claims and files checked
Review mode: full; reason: merge-touches-pr-files
- Claim (title): the docs list every prop, its default, and the keys it follows. Verified: 50 props in each of the English, Chinese and dense sets, every default the code sets (
MultiSelector.tsx:1121-1154) is documented, and a best practice names the keys (MultiSelector.doc.mjs:525). - Claim (description and changeset): the docs now list
labelTooltipandref. Verified atMultiSelector.doc.mjs:323-328and:439-444; therefwording is the blocking finding above. - Claim (description and changeset): seven booleans default to
false. Verified against the destructured defaults inMultiSelector.tsx:1121-1143. - Claim (description and changeset): the Chinese docs gain
variant, and the Chinese and dense docs gainindicatorPosition,width,startIcon,hasClear,isDefaultOpen,labelTooltipandref. Verified: both sets now name every English prop, and each new entry matches its English meaning. - Claim (changeset): the dense
onKeyDownentry says the handler is skipped for keys the built-in model handles and cancels. Verified atMultiSelector.doc.mjs:787-788and by the new test atMultiSelector.fr10.test.tsx:164. - Claim (description and changeset): a new best practice names the WAI-ARIA combobox pattern and its keys. Verified: the keys match the keyboard model (
hooks.ts:250-315) and the grid case. - Claim (description): the
labelTooltipentry says it has no effect inside an InputGroup or withrenderTrigger. Verified: only the Field reads it (MultiSelector.tsx:2846), and the InputGroup andrenderTriggerpaths render none (:2821-2823,:2555-2633). - Claim (description): no runtime behavior changes. Verified: only docs, tests and a test allowlist change, and the API surface comparison shows no added, changed or removed row.
- Claim (description): new tests check the skipped caller
onKeyDown, theonChange-then-changeActionorder, the Field-free InputGroup path and the busy paint. Verified: the four cases exist and pass with the rest of the MultiSelector and prop-docs suites (244 tests). - Claim (description): a browser audit spec covers the trigger, list, keyboard and pointer paths, the listed states, search, the bottom sheet, both directions, both color modes and a 320 px viewport, with 25 receipts and 55 frames. Verified by reading the spec: it defines those cases, 25 receipts and 55 frames; its pass is reported for the previous head, and CI has not run it on this head.
- Claim (description): unit tests, core typecheck and strict lint pass. The suites above, the core typecheck and lint on the changed tests pass here; the wider suites the description names were not rerun.
- Claim (description): the open contrast and empty-search findings are pre-existing and out of scope. Verified: the component record already lists the active-option contrast as current-state impact, and the empty message is presentational in source (
MultiSelector.tsx:2312-2325). - Claim (description): the audit scores and grades. The author's assessment; not a code claim.
- File
.changeset/multi-selector-audit-docs.md: clear. - File
packages/cli/test/core-prop-docs.known-drift.json: clear; the drift test passes without the removed allowance. - File
packages/core/src/MultiSelector/MultiSelector.doc.mjs: thereffinding (lines 443 and 611); the rest clear. - File
packages/core/src/MultiSelector/MultiSelector.fr10.test.tsx: clear. - File
packages/core/src/MultiSelector/MultiSelector.test.tsx: clear. - File
packages/core/src/MultiSelector/__tests__/MultiSelectorAudit.a11y.chromium.spec.ts: clear.
… editable searchable field; labelTooltip fits one sentence
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet, and it starts once the pull request is marked ready for review.
The ref entries in the English, Chinese and dense MultiSelector docs now name the search input as the combobox of an editable searchable field, which matches the component, so the earlier requested change is resolved. The other new entries, the false defaults and the keyboard guidance match the component; the prop-docs drift test, the MultiSelector unit tests, the core typecheck and lint pass on this head, and the public API surface is unchanged. Non-blocking: with isDisabled and hasSearch the trigger also has no combobox role, so "an editable field" in the ref entry is exact only when read as "not read-only" (inline suggestion).
Claims and files checked
Review mode: incremental; reason: none
- Claim (title, changeset, description): the docs list every prop, its default, and the keys it follows. Verified: the English, Chinese and dense sets each name all 50 props, every default the code sets (
MultiSelector.tsx:1121-1154) is documented, and a best practice names the keys (MultiSelector.doc.mjs:525,:650,:710). - Claim (changeset, description): the docs now list
labelTooltipandref. Verified atMultiSelector.doc.mjs:323-328and:439-444; therefwording matches the trigger and search-input roles (MultiSelector.tsx:2710,:2034). - Claim (changeset, description): seven booleans default to
false. Verified against the destructured defaults inMultiSelector.tsx:1121-1143. - Claim (changeset): the Chinese docs gain
variant, and the Chinese and dense docs gainindicatorPosition,width,startIcon,hasClear,isDefaultOpen,labelTooltipandref. Verified: the base sets lacked exactly those, and at this head neither set misses an English prop. - Claim (changeset): the dense
onKeyDownentry says the handler is skipped for keys the built-in model handles and cancels. Verified atMultiSelector.doc.mjs:787-788and by the test atMultiSelector.fr10.test.tsx:164. - Claim (changeset, description): a best practice names the WAI-ARIA combobox pattern and its keys. Verified against the keyboard model (
hooks.ts:250-316) and the grid case. - Claim (description): the
labelTooltipentry says it has no effect inside an InputGroup or withrenderTrigger. Verified: only the Field reads it (MultiSelector.tsx:2846), the InputGroup andrenderTriggerpaths render no Field (:2821-2823,:2555-2633), and the group takes its ownlabelTooltip(InputGroup.tsx:120). - Claim (description): no runtime behavior changes. Verified: only docs, tests, a test allowlist and a changeset change, and the built API surface shows no added, changed or removed row.
- Claim (description): new tests check the skipped caller
onKeyDown, theonChange-then-changeActionorder for a toggle, select-all and clear, the Field-free InputGroup path, and the busy paint. Verified: the four cases (MultiSelector.test.tsx:632,:1910,:5406;MultiSelector.fr10.test.tsx:164) pass with the rest of those suites (244 tests). - Claim (description): each case fails under its named mutation. Verified by reading each assertion; the mutations were not run here.
- Claim (description): the browser audit spec covers the listed states, directions, color modes and the 320 px viewport, with 25 receipts and 55 frames. Verified by reading the spec, which defines exactly those cases; its passing run is for the previous head, and the only commit since edits doc strings that no story reads.
- Claim (description): the MultiSelector folder and the other named unit suites, the prop-doc test, core typecheck and strict lint pass. Verified: the named suites pass at this head (879 tests; the description counts 878), as do the prop-doc test, core typecheck and lint on the changed files.
- Claim (description): the open contrast and empty-search findings are pre-existing and out of scope. Verified: the component record lists the active-option contrast as current-state impact, and the empty message is presentational in source (
MultiSelector.tsx:2312-2325). - Claim (description): the record's verification map still lists evidence gaps these tests close. Verified: the map names the InputGroup Field, busy paint, cancelled-key and change-order gaps.
- Claim (description): scores, grades and the maintainers' chosen repairs. The author's assessment and plans; not code claims, and nothing in this pull request depends on them.
- File
.changeset/multi-selector-audit-docs.md: clear. - File
packages/cli/test/core-prop-docs.known-drift.json: clear; the drift test passes without the removed allowance. - File
packages/core/src/MultiSelector/MultiSelector.doc.mjs: clear; the earlierreffinding is fixed (lines 443, 611, 789), with one non-blocking wording note. - File
packages/core/src/MultiSelector/MultiSelector.fr10.test.tsx: clear. - File
packages/core/src/MultiSelector/MultiSelector.test.tsx: clear. - File
packages/core/src/MultiSelector/__tests__/MultiSelectorAudit.a11y.chromium.spec.ts: clear.
| name: 'ref', | ||
| type: 'Ref<HTMLElement>', | ||
| description: | ||
| "Ref to the trigger button, or with renderTrigger to the caller's control. The trigger shows the value and carries the combobox role, except in an editable field with hasSearch, where the search input is the combobox.", |
There was a problem hiding this comment.
Non-blocking: with isDisabled and hasSearch the trigger also has no combobox role, because isEffectivelyReadOnly is isReadOnly && !isDisabled (MultiSelector.tsx:1211, :2710), and a disabled list never opens, so no search input renders either. "Editable" here is exact only when read as "not read-only". Wording that holds in every state (the same meaning fits the Chinese entry at line 611 and the dense one at line 789):
"Ref to the trigger button, or with renderTrigger to the caller's control. The trigger shows the value and carries the combobox role unless hasSearch is set on a field that is not read-only; then the search input in the open list is the combobox.",
User impact
Builders reading MultiSelector's docs now find
labelTooltipandref(the trigger button, or the caller's control withrenderTrigger; withhasSearchin an editable field the search input is the combobox), and see thathasSelectAll,hasSearch,isDisabled,isLabelHidden,isOptional,isRequired, andisLoadingdefault tofalse. The Chinese and dense docs gain the props they were missing. A new best practice names the WAI-ARIA APG Combobox pattern MultiSelector follows and the keys it answers to. ThelabelTooltipentry says it has no effect inside an InputGroup or withrenderTrigger, where MultiSelector renders no label of its own. No runtime behavior changes.New tests guard four promises the component record makes but no test checked: a caller
onKeyDownis skipped for a key the built-in keyboard model handles and cancels;onChangeruns beforechangeAction, with the same value, for a toggle, select-all, and clear; a MultiSelector inside an InputGroup renders no Field of its own; and a busy field does not take the disabled theme state. A browser audit spec checks the trigger, the list, keyboard and pointer paths, the read-only, disabled, loading, status, size, and variant states, search, the bottom sheet, both directions, both color modes, and a 320 px viewport.Audit result
core/MultiSelector(released in@astryxdesign/coreunder./MultiSelector)1.16.61649f688848(current main merged in, including the active option's newhighlightedtheme state)4b9ad4d9a35d2efb965615767bf372b65a19d16ccomponent:MultiSelector(authority: current), unchanged. No observational backfill was prepared.[docs]changeset.Sensitivity: fix the one open BLOCK and change nothing else, and the after score projects to 94.4 / A (§1 would read 4.5, with the A2 FIX still open).
comboboxbutton witharia-haspopup="listbox",aria-expanded, andaria-controlsnaming a multi-selectlistbox; ArrowDown opens it on the first selected option, Enter toggles and keeps it open, Escape closes and returns focus; read-only keeps its tab stop witharia-readonlyand opens nothing; disabled keeps its tab stop witharia-disabled, no nativedisabled, a default cursor, no hover paint, and a reason linked througharia-describedby; error status setsaria-invalid; control boxes 24 px or larger (sm28,md32,lg36); axe clean in the default, status, size, variant, read-only, disabled, and loading cases and in the open list. Open BLOCK (A15): the keyboard-active option shows only the hover fill, 1.12:1 light and 1.15:1 dark against the list, under the 3:1 of WCAG 2.2 SC 1.4.11 (the record's Current-state impact). Open FIX (A2): in the empty-search state the listbox holds no option, because the empty message isrole="presentation"(spec:AST-086), and axe reportsaria-required-childrenon that listbox; Selector renders its empty state the same way. Graded FIX, not BLOCK: the combobox pattern is otherwise intact and the no-results message still reaches screen readers through its announcement (FR14), so nobody is left without the outcomevariant,size,status,disabled, andreadonlyreflected on the trigger target; token values only; light and dark checkedFieldInputBaseProps,refon the trigger,displayName,changeActionbesideonChange,container*andcontrol*in place of root styling (FR13)isLoadingis read as options not yet arrived (FR2;spec:AST-001FR4); a field with no options opens a "No options" list (FR2;spec:AST-001FR3, FR6); the trigger height does not grow with a set text size (FR13;spec:AST-102FR4)transformon duration and easing tokensonKeyDown(FR13), theonChange-then-changeActionorder (ORD1), the Field-free InputGroup path (FR1), or that busy does not take the disabled theme state (FR11; the paint itself is shown in the loading frame). Open FIX (V3): no direct test that both presentations host one panel tree (FR5) or that the delegated CheckboxInput, Divider, Text, and BottomSheet targets keep their owners beyond rendering (FR4). Both V3 groups are graded FIX, not BLOCK: the behavior holds in existing integration cases and the exact-head frames, so no user reaches a defect through the missing assertionisReadOnlyon. It syncs a caller prop to the layer, which no handler can do, and any focus repair is the layer's own close path (FR15), so it is graded as a pre-existing C2 instance. Advisory, not scored: theisDefaultOpenmount Effect belongs in the shared layer primitivelabelTooltipandrefmissing from every doc variant, and five or six props missing from the Chinese and dense docs (X5b); seven boolean props without theirfalsedefault (X5); no accessibility guidance naming the pattern and keys (X16)aria-haspopup="dialog", a toggle keeps the sheet open, Escape closes it and returns focus; at 320 px the field fits its column and the popup is no wider than the control box§11 is not run for an existing core component.
Why the score moved: the §8 FIXes close with the doc entries, and one of the two §6 FIX groups closes with four new unit cases. The open BLOCK and the record's implementation gaps are unchanged, so the grade stays capped at C.
Pre-fix score: scored from base source before any change. Night Watch records only the landed post-fix result in the score ledger, so the pre-fix score lives here.
Findings fixed
onKeyDownis skipped for a key the built-in model cancels, thatonChangeruns beforechangeActionwith the same value, that an InputGroup path renders no Field, or that busy does not take the disabled theme stateMultiSelector.test.tsxandMultiSelector.fr10.test.tsx. Mutation checks: calling the caller handler after a cancelled key, callingchangeActionbeforeonChange, rendering the Field inside a group, and reflecting busy as disabled each fail their caselabelTooltip(listed in the CLI prop-doc drift file) andrefwere missing from every doc variant;variant,indicatorPosition,width,startIcon,hasClear, andisDefaultOpenwere missing from the Chinese docs, and all butvariantfrom the dense docscomponent:MultiSelectorpublic contractMultiSelector.labelTooltip not_in_docline is removed fromcore-prop-docs.known-drift.json, which the CLI prop-doc test enforceshasSelectAll,hasSearch,isDisabled,isLabelHidden,isOptional,isRequired, andisLoadinghad no documented defaultfalse)default: 'false'on each entryNeeds Review
highlightedtheme state: still 1.12:1 light and 1.15:1 dark, with no outline. The maintainers have decided the repair: the active option takescomponent:SelectorAR5's focus ring, because a theme state alone cannot guarantee 3:1. That repair changes rendering, so it lands separately and this audit leaves the finding open.spec:AST-086makes the empty message presentational, and the audit spec sets aside only that listbox'saria-required-childrenresult and reports it here. The maintainers have decided the repair for MultiSelector and Selector together: the message moves outside the listbox, which is not rendered empty. It lands separately.aria-readonlyand form submission, themulti-selector-searchand section-heading targets (existing cases already assert all four), and three of the claims this pull request now tests (FR1 InputGroup, FR13 cancelled keys, the FR11 theme state). ORD1 is now tested for a toggle, select-all, and clear, but not for a creation, so its line should name only the create path. A later owner-approved record change can update those lines.spec:AST-001) need an option-source pending state; the fixed height (FR13;spec:AST-102FR4) needs the shared element-size change. Each is an owner decision.Evidence
MultiSelectorAudit.a11y.chromium.spec.tsdrives existing MultiSelector stories. Every frame has a receipt bound to the Storybook build and checkout: story id, theme, mode, direction, viewport, DPR 2, settled fonts, and no page errors. Each line below is a check that fails the receipt when it does not hold:Default; light and dark, both directions, 900 px): acomboboxbutton witharia-haspopup="listbox"andaria-expandedfalse; a control box of at least 24×24 px; trigger text at least 4.5:1; axe clean closed and open; hover paints the control box differently from rest; Tab reaches the trigger and it matches:focus-visible; ArrowDown opens a multi-selectlistboxof fivemulti-selector-optionrows with the two selected first and the first highlighted, below the control box and start-aligned in the page direction; Enter deselects and keeps the list open; Escape closes it, returns focus, and the trigger reads1 selected;Sizeswith heights increasing fromsmtolg;Ghost Variant,Secondary Variant, andTrigger Modeswith their variant reflected;Statuswitharia-invalidon the error field only and, in each field, one status icon in place of the chevron;Read Onlywitharia-readonly, noaria-controls, a tab stop, no clear button, both values submitted, and no open on a press;Disabled With Messagewitharia-disabled, no nativedisabled, a tab stop, a default cursor, no painted hover, no open on a press or ArrowDown, the reason shown on focus and linked througharia-describedby, and axe clean;Empty Stateswith the loading field busy, focusable, and not disabled, and the custom empty text in the open list;Searchable; both directions): the plain trigger opens the panel with focus in the search combobox; "an" leaves only matching rows; no match shows the empty-search state, with axe clean apart from that listbox'saria-required-childrenresult (Needs Review 2); one Escape closes it and returns focus;Bottom Sheet Presentation; light and dark, 390 px):aria-haspopup="dialog", a sheet with a listbox of five rows, a toggle that keeps it open, Escape closes and returns focus; andDefaultat 320 px: the field fits its column and the popup is no wider than the control box.BusyOwnerAnnouncement,Selector.searchHighlight,docPropReferences,docPropLiterals, andthemingTargetssuites pass locally (878 cases), and so does the CLI prop-doc test. Core typecheck and strict lint pass.MultiSelectoronDefault, which the exact-head Touched components check runs, plus the right-to-left frames above.Closed evidence inventory
MultiSelector, its props and option typesMultiSelector/index.tsMultiSelector.doc.mjsarchitecture:public-component-apiMultiSelector.tsxMultiSelector.tsxoptions, sections, dividers, select-allMultiSelector.tsxoptions,hasSelectAll(default added)value,onChange,changeAction,htmlNameMultiSelector.tsxhasSearch,hasCreate, empty textsMultiSelector.tsxisReadOnlyMultiSelector.tsxisReadOnlyisDisabled,disabledMessageMultiSelector.tsxisLoading, busyMultiSelector.tsxisLoading(default added)size,variant,status,statusVariantMultiSelector.tsxtriggerDisplay,formatValue,maxBadges,renderOption,indicatorPositionMultiSelector.tsxpresentationMultiSelector.tsxpresentationrenderTrigger,handleRef,onOpenChange,isDefaultOpenMultiSelector.tsxonClick,onFocus,onKeyDownMultiSelector.tsxcontainer*,control*,labelTooltip,refMultiSelector.tsxlabelTooltip,refnew)MultiSelector.tsxoptionsMultiSelector.tsxthemingTargetstheming.targetsMultiSelector.tsxMultiSelector.tsxemptySearchTextspec:AST-086; ARIA required owned elementsFR10 eligibility report
{ "schema": "astryx.audit-eligibility/v1", "component": "MultiSelector", "package": "core", "mode": "night-watch", "rubricVersion": "1.16.6", "repository": {"base": "1649f688848", "head": "4b9ad4d9a35d2efb965615767bf372b65a19d16c"}, "contract": {"id": "component:MultiSelector", "authority": "current", "changed": false}, "inventory": {"closed": true, "rows": 19}, "remediations": [ {"id": "V3", "kind": "behavior-test", "evidence": "4 unit cases with mutation checks"}, {"id": "X5b", "kind": "doc-drift", "evidence": "labelTooltip, ref and Chinese and dense entries; known-drift line removed"}, {"id": "X5", "kind": "doc-drift", "evidence": "false defaults on 7 boolean props"}, {"id": "X16", "kind": "doc-drift", "evidence": "best practice names and links the combobox pattern and keys"} ], "unresolved": { "objective": ["A15 active option under 3:1 (record current-state impact)", "A2 empty listbox in the empty-search state"], "manual": ["FR2 loading and zero options", "FR13 fixed height", "C2 read-only close Effect", "record verification-map follow-up"] }, "approvals": {"specOwner": "n/a (no record change)"}, "verdict": {"autoMergeEligible": false, "reasons": ["AST-029 FR11 activation has not shipped", "open BLOCK A15"]} }Overlap checked: #11484 and #11851 change MultiSelector source (this pull request changes none); #6819 changes the default presentation (draft); #11621 also removes a line from the CLI prop-doc drift list, next to this one.