Repository navigation
fix(a11y): name controls by their visible text and fix ARIA roles - #375
Merged
Merged
Conversation
Findings from re-auditing master with axe (Zarestia-Dev#354): - Names that did not contain the visible text, which breaks speech input: the add-remote menu items (the app menu had this fixed in Zarestia-Dev#355), the overview header's backend switch, the remote detail action pills and the Rclone Flags reset button. They are now named by their text; the longer wording stays as the tooltip. The backend switch's logo is decorative, and its unused aria string is removed. - The remote config sidebar put aria-selected on navigation list items; the current step or profile is aria-current instead. - About listed its pages as tabs, with a second tab list and dividers inside the first. They open sub-pages, so they are plain buttons. - The general and Quick Run overviews added role="main" inside the workspace shell's <main>, so the page had two. - The file browser as an overlay or picker had no main landmark: since Zarestia-Dev#366 everything behind it is inert, so it is always the page's main. - Remote card names were h4 under the h2 overview title; now h3.
Hakanbaban53
approved these changes
Nov 25, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Part of #354.
From re-auditing master with axe in both themes (every screen reachable from the title bar and menus, plus remote detail and the Mount/Operations/Serve views).
What
Accessible names that didn't contain the visible text (
label-content-name-mismatch; speech input users say what they see, e.g. "click Bisync"):aria-label="Quick Remote"on an item showing "Quick Remote Ctrl + R". Same fix as the app menu in fix(a11y): name icon buttons and correct ARIA roles found by an axe audit #355: noaria-label, the shortcut staysaria-hidden.alt="") so the title isn't read twice, and the now unusedbackendSwitchAriastring is removed from all languages.aria-pressed, so the visible text is the name and the tooltip describes the action.ActionViewModel.ariaLabelgoes away.aria-labelto the tooltip.ARIA roles:
aria-selectedisn't allowed on navigation list items (34 nodes, critical). The current step isaria-current="step", the selected profilearia-current="true".role="tab"in atablist, with a secondtablistand dividers nested inside the first (critical). They open sub-pages rather than switching panels, so they're plain buttons now.Landmarks and headings:
role="main"inside the workspace shell's<main>, so home and Flow had two main landmarks, one nested in the other.inert, so that landmark is gone too. The file browser is now always the page'smainwith its hiddenh1, andisNautilusPageViewis no longer needed.h4directly under theh2overview title; they'reh3now (their class sets the size).Not in this PR
nested-interactive): the edit buttons inside expansion panel headers (settings panel, operation control, app operation config) and the action buttons inside remote cards (role="button"). Fixing these means moving the buttons out of the header or card, which changes the layout, so I'll raise it on Accessibility: findings from an axe-core audit (screen readers, keyboard, contrast) #354 first.Tests
h3, the action pills have noaria-label, and About's page list has no tab roles and no axe violations. They fail against master's templates.aria-allowed-attr34 → 0,aria-required-children4 → 0,heading-order15 → 0,label-content-name-mismatch25 → 0, allmain/heading landmark findings 37 → 0.audit:i18nandng buildpass.