fix(app): Server, Jobs, Settings, About and Welcome after the accessibility and RTL review

- Keyboard: Tab follows the visual order (toolbars, section list, dialog
  buttons), reaches every Jobs row button, stays inside the Welcome dialog
  (which opens focused); the Settings section list shows a focus ring.
- Screen readers: sync and job rows read as their sequence or job with the
  state as item status; row buttons name their row; filter chips are radio
  buttons; the connection state, errors, sync retries, update checks and
  self-test results are announced; Auto values are text, not dead buttons.
- Right to left: paths, addresses, templates, fingerprints, the job log, sizes
  and the logo stay left to right; numbers stay right-aligned.
- Layout: Jobs and sync headers line up with their rows (shared padding,
  shared actions column, constant scroll-bar gutter); toolbars wrap before
  anything is cut; Settings labels share a column as wide as the longest one;
  path rows give way instead of wrapping; conflict rows use the warning tint.
- Behaviour: Settings reloads the archive folder and default server set
  elsewhere; forgetting a certificate in Settings asks first and disconnects
  the session on it; transfers count in the Local only and Remote chips; the
  Workers readout counts this PC's workers; badge, status strip and Running
  chip agree; the admin link shows for administrators only; Reset section is
  gone from Advanced; empty states carry one action; shorter labels; the
  encoders a render node offers and the presets each encoder serves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-03 17:23:59 +00:00
1 parent baf3c6bddd
commit d80cb5f8a7
28 files changed
+801 -319

No files matched your search

+12 -2
View File
@@ -64,8 +64,11 @@ public sealed class EncoderRowViewModel(EncoderRow row) : ObservableObject
public bool HasTenBit => Row.TenBit;
/// <summary>"8192×8192" or "no limit".</summary>
public string MaxText => Row.MaxWidth > 0 ? $"{Row.MaxWidth}×{Row.MaxHeight}" : Loc.L("Settings.Rendering.NoLimit");
/// <summary>"8192×8192" (width first in every language) or "no limit".</summary>
public string MaxText => Row.MaxWidth > 0 ? Formatting.LeftToRight($"{Row.MaxWidth}×{Row.MaxHeight}") : Loc.L("Settings.Rendering.NoLimit");
/// <summary>The built-in presets this encoder serves (Settings.html "Used for").</summary>
public string UsedForText => EncoderUse.Text(Row);
public bool IsTesting
{
@@ -97,6 +100,9 @@ public sealed class EncoderRowViewModel(EncoderRow row) : ObservableObject
public string ResultToolTip => _result is { Passed: false, Error: { } error } ? error : Loc.L("Tooltips.Settings.SelfTestResult");
/// <summary>What a screen reader announces when the self-test of this row moves on: "HEVC NVIDIA NVENC (hardware): 142 fps · ok".</summary>
public string ResultAnnouncement => Loc.L("Settings.Rendering.ResultFor", Codec, Name, ResultText);
internal void Refresh() => OnAllPropertiesChanged();
private void RaiseResult()
@@ -105,6 +111,7 @@ public sealed class EncoderRowViewModel(EncoderRow row) : ObservableObject
OnPropertyChanged(nameof(ResultKind));
OnPropertyChanged(nameof(ResultText));
OnPropertyChanged(nameof(ResultToolTip));
OnPropertyChanged(nameof(ResultAnnouncement));
}
}
@@ -117,4 +124,7 @@ public sealed class TrustedCertificateRow(TrustedCertificate certificate, IComma
public string FullFingerprint => Certificate.Fingerprint;
public string TrustedText => Formatting.Date(Certificate.TrustedAt);
public ICommand ForgetCommand { get; } = forget;
/// <summary>"Forget: https://nas.local:8443": the button names its server for screen readers.</summary>
public string ForgetName => Loc.L("Settings.Server.ForgetName", Server);
}