Reach WCAG 2.2 AA and EN 301549 conformance

Aperta
#646 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
28/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, react, typescript

Direzione di ricerca

Inizia dalle violazioni FastPass indicate in #566, quindi esamina src/app/components/Editor*.tsx, WarningBox.tsx, YamlPreview.tsx, App.tsx, Head.tsx, SettingsPanel.tsx e .github/workflows/test.yml. Mappa i controlli automatizzati e la copertura dell’audit manuale ai criteri WCAG 2.2 AA ed EN 301549 elencati. Il lavoro è completato quando CI rileva le nuove violazioni, i problemi segnalati sono stati sottoposti a triage e il rapporto di audit supporta la dichiarazione di accessibilità di AgID.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Context

Derived from requirement RF-PCE-001

Scope

Bring the editor to full accessibility conformance, through both automated testing and
manual verification by a qualified web accessibility expert:

  • Set up automated accessibility checks and wire them into CI, so regressions are caught
    on every pull request.
  • Run a manual audit covering what automation cannot reach: keyboard-only navigation,
    focus order and focus visibility, screen reader output, and the behaviour of the
    dynamic panels (validation warnings, live YAML preview, settings).
  • Fix the violations found, prioritising the ones already reported in #566.
  • Produce an audit report usable as the basis for the accessibility statement,
    following the AgID self-assessment model.

Target conformance: WCAG 2.2 level AA and EN 301549 (UNI EN 301549:2021), as
required by the Italian ICT accessibility guidelines.

Affected areas

Accessibility is cross-cutting, but the highest-risk surfaces are:

  • src/app/components/Editor*.tsx — the form controls, which carry most of the
    labelling, grouping and error-association burden.
  • src/app/components/WarningBox.tsx — validation results, which update dynamically
    and need to be announced to assistive technology.
  • src/app/components/YamlPreview.tsx — the live-updating YAML panel.
  • src/app/App.tsx — the resizable two-panel layout (react-resizable-panels), whose
    drag handles need keyboard operability, plus the mobile stacked layout.
  • src/app/components/Head.tsx, SettingsPanel.tsx — navigation and dialog semantics.
  • .github/workflows/test.yml — where the automated checks should run.

Where a defect originates in Design React Kit or Bootstrap Italia rather than in this
codebase, the fix should be contributed upstream rather than patched locally.

Non-functional constraints

  • RNF-PCE-002 — Cloud-native architecture: the automated accessibility checks must
    run in the existing GitHub Actions pipeline, not as a manual local step.
  • RNF-PCE-004 — Standards and compliance: conformance is measured against the AgID
    guidelines; the audit output must fit the AgID self-assessment model.
  • RNF-PCE-006 — Long-term sustainability: accessibility must not regress after this
    work, so the checks belong in CI permanently and the dependency update policy has to
    account for the design system components the editor relies on.

Acceptance criteria

  • Automated accessibility checks run in CI and fail the build on new violations
  • Manual audit performed by a qualified web accessibility expert, covering keyboard
    navigation, focus order and visibility, and screen reader output
  • All WCAG 2.2 level AA success criteria met across form, preview, warnings and
    settings
  • EN 301549 conformance verified
  • Violations listed in the FastPass report attached to #566 triaged, and either
    fixed or documented with a rationale
  • Audit report produced, suitable as input for the accessibility statement

Related

  • #566 — reports concrete WCAG violations with a FastPass export; this issue covers the
    same ground with the full conformance target, so #566 is the starting backlog
  • #619 — earlier a11y review, closed
Lingua principale
TypeScript
Stelle
33
Fork
34
Merge medio
10h 50m
PR unite (30g)
13

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di italia/publiccode-editor

Tutte le issue di italia/publiccode-editor

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.