Repository navigation
Conversation
Frimousse renders category headers inside its role=grid list, so a plain heading there fails aria-required-children. Extend the [email protected] patch to make each category header a grid row (counted in aria-rowcount and aria-rowindex), and to render each category before its first emoji row so headings follow reading order. The emoji picker then wraps each label in an h2.
Also test header row numbering across two categories and note that the header-row patch has no upstream fix.
aqandrew
force-pushed
the
a11y/semantic-heading-emoji-picker
branch
from
November 13, 2026 18:38
e518477 to
1a6a3cc
Compare
aqandrew
added a commit
that referenced
this pull request
Nov 16, 2026
Replaces `site/patches/[email protected]` with [`@coder/[email protected]`](https://www.npmjs.com/package/@coder/frimousse), Coder's fork of Frimousse at [coder/frimousse](https://github.com/coder/frimousse). 0.4.1 includes the same fix the patch made: one-based `aria-rowindex` and `aria-colindex` (upstream liveblocks/frimousse#39, applied in coder/frimousse#4). It is published from the fork's release workflow with npm trusted publishing. - `frimousse` becomes `@coder/frimousse` in `package.json` and in the two imports. - The patch and the `patchedDependencies` entry are removed. - `minimumReleaseAgeExclude` allows this exact version. pnpm holds back versions published in the last day, and 0.4.1 was published on 2026-11-16, so `pnpm add` wrote this entry. It can be removed later, or replaced on the next bump. - The lockfile records the registry tarball URL, as the nix build requires. No behavior change: the existing "numbers grid rows and cells from 1" test passes against the package, with no patch applied. Kept: the `site/patches/**` exclusion in `.github/workflows/typos.toml`. With this PR no patch remains, but the open #32020 adds a cmdk patch that needs it. This is step 3 of moving Frimousse changes to the fork. Next, coder/frimousse gets the DEQ-130 category header rows, and a follow-up coder/coder PR bumps to that release and replaces #32189. 🤖 Generated by Coder Agents on behalf of @aqandrew.
This was referenced Nov 16, 2026
Collaborator
Author
|
Closing in favor of #32407, which gets the same fix from 🤖 Generated by Coder Agents on behalf of @aqandrew. |
aqandrew
had a problem deploying
to
docs-preview
November 18, 2026 18:14 — with
GitHub Actions
Failure
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The emoji picker's category labels ("Smileys & emotion", "Food & drink", ...) look like section headings but were plain text, so screen reader users could not list them or jump between them. Frimousse renders those labels inside its
role="grid", and a grid may only own rows, so a bareh2there fails axearia-required-children. This PR extends the existingsite/patches/[email protected]so that Frimousse treats category headers as real grid rows. It also changesEmojiPickerto wrap each label in anh2.Patch changes (minified
dist/index.jsanddist/index.cjs):role="row", and its header is arole="gridcell". Header rows count towardaria-rowcountandaria-rowindex, and the keyboard scroll lookup uses the new numbering.zIndex: 1on the category wrapper. The rows usecontain: content, so they paint like positioned elements, and without it the sticky headers would now paint under them.TypeError.Only the one-based index part of the patch has an upstream PR (liveblocks/frimousse#39). The patch header says to re-apply the header-row changes when Frimousse is upgraded.
Closes DEQ-130
IconField)There is no visual change. In Storybook, screenshots of the open picker match
mainpixel for pixel at four scroll offsets, sticky headers included, so there are no before/after screenshots.Decision log and verification
row > gridcell > h2from the app side (no patch) passes axe. But those rows sit outside Frimousse's row numbering, and they render after every emoji row, which trades one 1.3.1 problem for another. Rendering the headings outside the grid would break the sticky headers. Patching follows the existing patch (from feat: replace Emoji Mart with Frimousse in the emoji picker #30526) and keeps the bundle as it is. Vendoring Frimousse was rejected earlier because it would mean owning about 3,900 copied lines.components/IconFieldOpenPicker, branch vsmain:aria-dialog-nameon the sharedPopoverContent, whichmainalso has.row > heading [level=2]before its emoji rows, both at the top and when scrolled into the middle of the list.main. No page errors after a search with no results followed by ArrowDown or Tab.aria-rowcount. It fails onmain.aria-colspan": axe does not flag it, and the patch's header props function does not know the column count. Left out to keep the patch small.Fragmentimport now unused in the ESM bundle": harmless in a minified dependency.🤖 Generated by Coder Agents on behalf of @aqandrew.