`verify`: flag accessibility markup the adaptation stripped

Đang mở
#110 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
73/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, react, tailwindcss
Lĩnh vực
accessibility, tooling

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
JavaScript
Star
17
Fork
7
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CreativesLibrary/Components

Tất cả issue của CreativesLibrary/Components

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.