`verify`: flag accessibility markup the adaptation stripped

Offen
#110 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
73/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
javascript, react, tailwindcss

Rechercherichtung

Read adaptation.md § 4 and find the verify command implementation and its tests. Trace how it accepts the adapted and upstream file paths, then add a test where a stripped aria-label is reported and an untouched file passes. Done means the check reports missing aria-*, role, alt, and sr-only markup.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

cli enhancement

adaptation.md § 4 says to keep the source's focus handling, aria, and labels. Nothing checks it.

verify <file> --upstream <fetched-file> could compare the two: every aria-*, role, alt, and sr-only in the upstream file that is missing from the adapted one gets reported.

Done when: a test with a stripped aria-label fails and an untouched one passes.

Vorherrschende Sprache
JavaScript
Sterne
17
Forks
7
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CreativesLibrary/Components

Alle Issues in CreativesLibrary/Components

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.