Skip to content

fix: address small optional accessibility audit findings - #3822

Merged
AlexAndBear merged 5 commits into
mainfrom
fix/a11y-small-optional-findings
Oct 15, 2026
Merged

AlexAndBear merged 5 commits into
mainfrom
fix/a11y-small-optional-findings

Conversation

@AlexAndBear

@AlexAndBear AlexAndBear commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Description

Fix thirteen optional (nice-to-have) accessibility findings with small markup and labeling changes to existing components:

  • Audit 25 — account page titles: give every account sub page (Profile, Preferences, Apps, Calendar, GDPR, App preferences) its own route title, so the document title no longer reads "Account - OpenCloud" on all of them.
  • Audit 28 — App Store title focus: move the truncation from the h3 to the link text, so the focus ring of the card title link is no longer clipped.
  • Audit 31 — new-tab links: author and resource links announce "(opens in a new tab)" in their accessible name and get rel="noopener noreferrer".
  • Audit 33 — versions disclosure: the "Show all N versions" button gets aria-expanded and aria-controls pointing to the versions list.
  • Audit 35 — sharing headings: the sharing and members panel headings move from h4 to h3, so the hierarchy no longer skips a level after the sidebar's h2. They keep their current size.
  • Audit 36 — duplicate search landmarks: local list filters (admin settings, shares, spaces, deleted files, App Store) use the existing is-filter prop, so only the global search remains a search landmark.
  • Audit 37 — help popover title: the contextual helper title is a paragraph instead of a fixed h4 that ignored the surrounding heading levels.
  • Audit 38 — content outside landmarks: the left sidebar becomes a labeled aside, so its footer (Sponsor us, version, update check) and extension points are inside a landmark, and the upload panel becomes a section named by its title. A <footer> inside the page would not help here, because it only becomes a contentinfo landmark directly under body.
  • Audit 39 — plain pages: PlainShell renders a main landmark, which covers the public link password prompt, public link errors and access denied.
  • Audit 40 — 404 and private link pages: both pages get a main landmark and a visually hidden h1.
  • Audit 41 — App Store detail headings: the app name becomes the h1 and the sections below become h2. When an app is not found, the page keeps the "Back to App Store" link and shows the requested app id as its h1 above the unchanged "App not found" message.
  • Audit 43 — static progress: OcProgress only sets aria-busy for indeterminate progress, so the static quota bar is no longer announced as busy.
  • Audit 49 — App Store gallery: thumbnails are named "Image N of M: caption" (falling back to the app name), and the caption and counter are announced through a polite live region when the image changes.

Audit 36 also addresses reported finding 7 (duplicate search landmarks) and audit 38 reported finding 8 (sidebar footer and upload panel outside landmarks) in #3795.

The App Store's contextual helper was rendered inside the page h1, so its popover text was large and bold and became part of the heading's accessible name. It now sits next to the heading and looks like every other contextual helper.

Before / after

Only two changes are visible. Everything else is semantic (landmarks, ARIA, hidden headings) and looks the same.

Before After
App not found before App not found after
App Store title focus before App Store title focus after
  • App not found (Audit 41): the page now has the "Back to App Store" link and the app id as its heading, so users can get back without the browser history.
  • App Store title focus (Audit 28): the focus ring around the title link is complete instead of being clipped at the top and sides.

Related Issue

How Has This Been Tested?

  • test environment: macOS, local Docker OpenCloud backend with the production web build; Playwright Chromium, Firefox and WebKit.
  • test case 1: pnpm build, pnpm check:types, pnpm lint and pnpm format:check passed.
  • test case 2: pnpm test:unit --run passed: 5,470 tests. Updated the existing snapshots for the new headings, landmarks and aria-busy, and added the translation plugin to the App Store author and resource link specs.
  • test case 3: keyboard and browser checks in all three engines: App Store title focus and full-card links, new-tab link names, heading hierarchy, version expansion with Enter and Space, gallery labels and live region, all six account page titles, and the main landmark on access denied, public link error, 404 and invalid private link pages. Targeted axe checks pass.
  • test case 4: Chromium checks for the nine local list filters and the remaining global search landmark, the sharing and help headings, the static quota busy state, and App Store title focus at 320px.
  • test case 5: ran the @a11y smoke scenario from test(e2e): extend a11y coverage and add keyboard checks #3795 locally in Chromium against the production build, before and after the landmark fix. Before: region violations for the sidebar footer on the account, preferences and admin pages and for the upload panel, plus landmark-unique for the App Store search. After: both are gone; the only remaining region node is the body-level "Application Switcher" tooltip, which is a separate issue.
  • test case 6: compared screenshots of the sidebar (files and admin settings) and the upload panel before and after the change: they are byte-identical. The App Store contextual helper text now uses the same size and weight as the other helpers.

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear
AlexAndBear force-pushed the fix/a11y-small-optional-findings branch from 2aee422 to 9a26863 Compare October 15, 2026 16:10
@AlexAndBear
AlexAndBear enabled auto-merge (squash) October 15, 2026 16:34
@AlexAndBear
AlexAndBear merged commit 281c61f into main Oct 15, 2026
27 checks passed
@AlexAndBear
AlexAndBear deleted the fix/a11y-small-optional-findings branch October 15, 2026 17:07
@openclouders openclouders mentioned this pull request Oct 15, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants