Context
Welcome! This is a small, self-contained accessibility fix in the grid header menus that Neo.mjs 13.3 introduces (#19643). You need a fork, Node and the dev server; no Agent OS, Docker or AI tooling.
A header menu lists a column's values, each with the number of rows that match it. A screen reader announces each option by its aria-label, which src/list/ValuePicker.mjs builds in createPooledItem():
node['aria-label'] = this.getOptionLabel(item.record) + ', ' + (item.record.count ?? 0) + ' matches';
So a value with exactly one match is announced as "sloemo01, 1 matches".
The Problem
To see it:
npm install, then npm run server-start.
- Open
http://localhost:8080/examples/grid/issues/index.html, hover the Author header and click its ▾.
- Inspect the
sloemo01 option in DevTools: aria-label="sloemo01, 1 matches".
The tests currently expect the wrong text: test/playwright/e2e/grid/HeaderMenuStateNL.spec.mjs contains 1 matches twelve times, so they would also fail once the label is fixed. Those expectations change together with the label.
The Architectural Reality
- The label belongs to the option row the value picker renders (
createPooledItem() in src/list/ValuePicker.mjs). The visible row shows only the number; only the aria-label has the word.
test/playwright/unit/list/ValuePicker.spec.mjs already reads the label ('Value 0, 20000 matches'), so a unit case can cover the singular form; unit tests run locally without anything else installed.
HeaderMenuStateNL.spec.mjs belongs to the browser tier that the maintainers' CI runs on every pull request. You do not need to run it locally; updating its expected strings is enough.
The Fix
- In
createPooledItem(), use match when the count is 1 and matches otherwise: "0 matches", "1 match", "2 matches".
- Add a unit case to
test/playwright/unit/list/ValuePicker.spec.mjs for a value with one match.
- In
test/playwright/e2e/grid/HeaderMenuStateNL.spec.mjs, change every expected …, 1 matches to …, 1 match.
Acceptance Criteria
Out of Scope
- Translating the label; the engine has no string catalog for it.
- The visible count in the option row.
Related
#19643 (the header menus) · #18985 (this year's Hacktoberfest door) · found while testing the 13.3 issues showcase (#19756)
unowned-rationale: a good first issue for an outside contributor; a maintainer reviews the pull request.
Live latest-open sweep at 2026-10-20 08:45Z (latest 20 open) and gh search issues "matches aria-label": no equivalent.
Origin Session ID: ad84dc14-8baf-4f95-a7dd-a9e224f51c31
Context
Welcome! This is a small, self-contained accessibility fix in the grid header menus that Neo.mjs 13.3 introduces (#19643). You need a fork, Node and the dev server; no Agent OS, Docker or AI tooling.
A header menu lists a column's values, each with the number of rows that match it. A screen reader announces each option by its
aria-label, whichsrc/list/ValuePicker.mjsbuilds increatePooledItem():node['aria-label'] = this.getOptionLabel(item.record) + ', ' + (item.record.count ?? 0) + ' matches';So a value with exactly one match is announced as "sloemo01, 1 matches".
The Problem
To see it:
npm install, thennpm run server-start.http://localhost:8080/examples/grid/issues/index.html, hover the Author header and click its ▾.sloemo01option in DevTools:aria-label="sloemo01, 1 matches".The tests currently expect the wrong text:
test/playwright/e2e/grid/HeaderMenuStateNL.spec.mjscontains1 matchestwelve times, so they would also fail once the label is fixed. Those expectations change together with the label.The Architectural Reality
createPooledItem()insrc/list/ValuePicker.mjs). The visible row shows only the number; only thearia-labelhas the word.test/playwright/unit/list/ValuePicker.spec.mjsalready reads the label ('Value 0, 20000 matches'), so a unit case can cover the singular form; unit tests run locally without anything else installed.HeaderMenuStateNL.spec.mjsbelongs to the browser tier that the maintainers' CI runs on every pull request. You do not need to run it locally; updating its expected strings is enough.The Fix
createPooledItem(), usematchwhen the count is 1 andmatchesotherwise: "0 matches", "1 match", "2 matches".test/playwright/unit/list/ValuePicker.spec.mjsfor a value with one match.test/playwright/e2e/grid/HeaderMenuStateNL.spec.mjs, change every expected…, 1 matchesto…, 1 match.Acceptance Criteria
aria-label<label>, 1 match; every other count keepsmatches.npm run test-unit -- test/playwright/unit/list/ValuePicker.spec.mjspasses and covers a count of 1 and a plural count.test/still expects1 matches.Out of Scope
Related
#19643 (the header menus) · #18985 (this year's Hacktoberfest door) · found while testing the 13.3 issues showcase (#19756)
unowned-rationale: a good first issue for an outside contributor; a maintainer reviews the pull request.
Live latest-open sweep at 2026-10-20 08:45Z (latest 20 open) and
gh search issues "matches aria-label": no equivalent.Origin Session ID: ad84dc14-8baf-4f95-a7dd-a9e224f51c31