Skip to content

fix(site/src/modules/notifications): make inbox mark as read buttons distinguishable - #32466

Merged
aqandrew merged 1 commit into
mainfrom
a11y/inbox-mark-as-read
Nov 19, 2026
Merged

aqandrew merged 1 commit into
mainfrom
a11y/inbox-mark-as-read

Conversation

@aqandrew

@aqandrew aqandrew commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Each unread inbox notification's "Mark as read" button now gets aria-describedby pointing at the notification content, the same way the action links do since #32317. Screen reader users can now tell which notification each button marks. The label also changes to sentence case to match "Mark all as read".

The sr-only "Unread" text used to sit inside the dot, which is display: none on hover and focus-within. Screen readers lost the unread state while a user was in the item. The text is now a sibling of the dot. The button was already keyboard reachable on main (#31656), so this was the part of DEQ-610 still open.

Closes DEQ-610
Closes DEQ-633

Ticket UI surface
DEQ-610 Navbar bell > Inbox popover, unread item "Unread" indicator (screen reader only, no visual change)
DEQ-633 Navbar bell > Inbox popover, unread item "Mark as read" button (screenshots)
Grouping and decision log
  • Both tickets cover the same element in InboxItem.tsx, so they ship in one PR.
  • DEQ-610's keyboard reachability (not-group-hover:not-group-focus-within:sr-only) is already on main from fix(site/src): make keyboard-inaccessible controls operable by keyboard #31656. Verified in Storybook (InboxItem / UnreadFocused): on main, Unread has no layout box while the item has focus; on this branch it stays in the accessibility tree.
  • DEQ-633 reuses aria-describedby={contentId} from fix(site/src/modules/notifications): describe inbox action links with notification content #32317 and keeps "Mark as read" as the name. Every button has the same name, and the description tells them apart.
  • Self-review (frontend-review, frontend-deep-review, frontend-accessibility): the only should-fix was a test whose keyboard assertions can't fail in jsdom. I cut it down to the accessible-description assertion. No findings were dropped.

🤖 Generated by Coder Agents on behalf of @aqandrew.

…distinguishable

Describe each Mark as read button with its notification content and keep
the sr-only Unread text out of the dot that hides on hover and focus.

Closes DEQ-610, DEQ-633
@linear-code

linear-code Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

DEQ-610

DEQ-633

@Jesswinters Jesswinters left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Smashing that bell to subscribe to all these a11y improvements wow 🔔

@aqandrew
aqandrew merged commit f986716 into main Nov 19, 2026
60 checks passed
@aqandrew
aqandrew deleted the a11y/inbox-mark-as-read branch November 19, 2026 21:54
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 19, 2026

This branch had an error being deployed

1 failed and 1 inactive deployments
docs-preview — 70006691 Deployed Nov 19, 2026 by aqandrew via cleanup #268
main — 70006691 Deployed Nov 19, 2026 by aqandrew via cla #260544
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants