fix(a11y): dialog names, aria-pressed, labels, avatar alt, placeholder contrast (#278) #436
Merged
jared
merged 1 commits from 2026-10-19 17:06:38 -04:00
fix/a11y-axe-findings into lotus
No Reviewers
Labels
Clear labels
a11y
area: appearance
area: auth-session
area: build-ci
area: calls
area: desktop
area: media
area: messaging
area: mobile
area: moderation
area: navigation
area: notifications
area: settings
area: threads
bug
dependencies
docs
duplicate
enhancement
help wanted
invalid
needs-human-review
performance
planning
priority: critical
priority: high
priority: low
priority: medium
qa
question
research
security
tech-debt
ux
wontfix
Accessibility: keyboard, screen reader, contrast, motion
Client area: appearance
Client area: auth-session
Client area: build-ci
Client area: calls
Client area: desktop
Client area: media
Client area: messaging
Client area: mobile
Client area: moderation
Client area: navigation
Client area: notifications
Client area: settings
Client area: threads
Something is not working
Third-party package versions and advisories
README / LOTUS_* docs wrong or missing
This issue or pull request already exists
New feature
Need some help
Something is wrong
Re-render storms, leaks, heavy work on hot paths
Data loss, security hole, or crash on a main path
Broken feature or serious usability problem
Minor issue or polish
Wrong behaviour in an edge case or notable degradation
Manual QA: shipped, needs a human in a real environment
More information is needed
XSS, unsafe URLs, data leaks, auth/session
Code health, dead code, fragile patterns
Usability or visual inconsistency
This won't be fixed
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: LotusGuild/cinny#436
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes #278 (the Lotus-specific axe-core findings, plus the avatar
altfrom the upstream list).Before → after (axe, WCAG 2.1 A/AA, critical and serious only; local stack):
Changes
Modal500takes alabel. Room Settings ("<room>settings"), Space Settings and the two Settings dialogs now have accessible names.aria-selectedon plain buttons →aria-pressed: inbox filter chips, date/time picker chips, and the verification, pack-usage and notification-mode menu items. The Permissions power chips open a menu, so they getaria-haspopup="menu"+aria-expandedinstead.<label for>their inputs.UserAvatardefaults toalt=""(decorative next to a name or inside a labelled button). Callers that passaltkeep it.opacity: 0.333on the placeholder. The inline value is now dropped, so the class applies; axe passes.<p>in RoomQuality: already fixed by #291 (SettingTiledescriptions are<div>s).e2e/a11y.spec.tsnow also audits Room Settings → Permissions, Emojis & Stickers and Export, checks the dialog's name, and audits the inbox. All 7 tests pass locally against a production build.Not done (the issue's "inherited from upstream, fix when convenient"): keyboard-focusable timeline scroll region, Explore heading order,
h1/mainlandmarks. They're structural and would want their own pass.🤖 Generated with Claude Code
https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5
- Modal500 takes a label: Room/Space Settings ("<name> settings") and Settings dialogs have accessible names. - aria-selected on plain buttons (inbox filter chips, date/time picker chips, verification/usage/notification menu items) -> aria-pressed; the Permissions power chips open a menu -> aria-haspopup + aria-expanded. - Labels tied to the room pack name input and the Export From/To dates. - UserAvatar defaults to alt="" (decorative next to a name / in a labelled button) unless a caller passes one. - Composer placeholder: Slate's inline opacity 0.333 overrode the #222 AA-contrast class (2.66:1); it is dropped so the class (0.75) applies. - e2e/a11y.spec.ts also audits Room Settings → Permissions, Emojis & Stickers and Export, checks the dialog name, and audits the inbox. Fixes #278 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5