Repository navigation
fix(site/src): add visible labels to the port forward listening port controls - #32383
Merged
Merged
Conversation
…controls Fixes DEQ-272 (axe label-is-placeholder, WCAG 3.3.2). The listening port filter field relied on its placeholder as its only visible label.
jeremyruppel
approved these changes
Nov 18, 2026
jeremyruppel
left a comment
Collaborator
There was a problem hiding this comment.
Reviewed at 30088b9. The visible Protocol and Port labels are tied to their controls with htmlFor/id, fixing DEQ-272 (label-is-placeholder, WCAG 3.3.2). The section role="group" wrappers keep the duplicate names distinguishable. Scope, size, required CI, targeted unit/story tests, and Storybook axe checks (no new violations vs. base) all pass. Nits: the size="sm" Connect button now sits 4px lower than the 36px inputs under items-end (PortForwardButton.tsx:381); <fieldset> would be the native alternative to div role="group". Follow-ups filed for pre-existing issues: DEQ-637, DEQ-638, DEQ-639.
🤖 Generated by Coder Agents on behalf of @jeremyruppel.
jeremyruppel
had a problem deploying
to
docs-preview
November 18, 2026 22:16 — 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 listening ports filter in the workspace port forward popover showed only a "Filter ports..." placeholder, which disappears on focus, so the field had no persistent visible label (axe
label-is-placeholder, WCAG 3.3.2). This adds visibleProtocolandPortlabels, tied withhtmlFor/id, to the listening port protocol select and the port field.Both popover sections now have a "Protocol" and a "Port" control, so each section's controls are wrapped in a
role="group"labelled by its heading ("Listening ports", "Shared ports"). That way screen readers can tell them apart.SearchFieldgains anidprop to support the label association.Fixes DEQ-272
Decision log
Port, which matches the share form's existingPortfield. The placeholder stays as an example hint.aria-label. It gets a visibleProtocollabel too, so both controls in the row look the same.ProtocolandPortnow appear in both popover sections. Rather than adding section words to the visible labels, each section is arole="group"named by its existing heading.Verification
pnpm check,pnpm lint(biome, oxlint, tsc, circular deps, compiler, sentence case, knip): pass.PortForwardButton.test.tsxand thePortForwardPopoverViewstorybook tests: pass.pnpm test: 4 failures inTemplatePermissions.test.tsxandMCPServerForm.test.tsx, which this change doesn't touch. Both files pass when run alone (26/26).pnpm build: pass../scripts/develop.shinstance with a running workspace: the popover's "Listening ports" group shows visibleProtocolandPortlabels and exposes them as accessible names.