Repository navigation
fix(site/src/modules/notifications): describe inbox action links with notification content - #32317
Merged
Merged
Conversation
… notification content
jeremyruppel
approved these changes
Nov 18, 2026
jeremyruppel
left a comment
Collaborator
There was a problem hiding this comment.
Each inbox action link now gets aria-describedby pointing at its notification message, so "View workspace" keeps its visible name and screen readers also announce which notification it belongs to (WCAG 2.4.4). I checked that the rendered DOM and classes match main apart from the added id, and the Storybook popover shows a unique description id per link. Nit: the new test could reuse renderWithContent with an actions parameter. Follow-ups: filed DEQ-633 (identical "mark as read" button names), and added evidence to DEQ-608 (external icon on same-tab inbox Markdown links).
🤖 Generated by Coder Agents on behalf of @jeremyruppel.
jeremyruppel
had a problem deploying
to
docs-preview
November 18, 2026 20:38 — 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.
Notification inbox action links such as "View workspace" read the same for every notification, so screen reader users could not tell which workspace a link opens (WCAG 2.4.4, Link Purpose (In Context)).
Each action link now has
aria-describedbypointing at its notification's message. The link keeps its visible text as its accessible name, so voice-control users can still say "View workspace" (2.5.3). The message wrapper is a plaindivbecausereact-markdown9 does not accept anid; the Markdown classes moved onto it so the rendered output stays the same and only one wrapper is emitted.Closes DEQ-364
Decision log
aria-describedbyoveraria-label/aria-labelledby: both alternatives replace the link name with the full message, which breaks label-in-name and makes link names long. The description supplements the name, which is what the Deque guidance suggests as option 2.InboxItemcovers every action on every notification type; no backend template changes needed.div) was fixed.InboxItem.test.tsx(new test fails without the fix, passes with it),pnpm check,pnpm lint,pnpm format.🤖 Generated by Coder Agents on behalf of @chrifro.