Audit the components of wicket-core and wicket-extensions against WCAG 2.2 AA

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
28/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ệ
css, html, java, javascript

Hướng nghiên cứu

Start by reading the component implementations and existing tests in wicket-core and wicket-extensions, then build test pages for common, error and empty states. Run axe-core against each page, perform the specified keyboard checks, and compare widget patterns with WAI-ARIA Authoring Practices. Done means a findings report covering each issue, criterion, severity, proposed fix and application-visible markup impact, with application-caused findings separated.

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

Mô tả

Wicket's components make no accessibility promise, and nobody knows how far they are from one. Outside the autocomplete and the upload field, wicket-core and wicket-extensions render no ARIA at all, and nothing in the build checks the markup they produce. This issue is the audit that sets the baseline: what each component renders today, measured against WCAG 2.2 level AA.

WCAG conformance belongs to pages, not to libraries, so the goal is not "Wicket is WCAG compliant". The goal is that every component renders accessible markup by default and never stands in the way of an application that builds an accessible page. What remains the application's job (contrast, alternative texts, headings, the wording of labels and messages) is out of scope here, except where a component makes that job impossible or needlessly hard.

Scope

All components, behaviors and their default markup, JavaScript and CSS in wicket-core and wicket-extensions on master, including:

  • form components, FormComponentLabel, FeedbackPanel and form error reporting
  • links, buttons, AjaxLink/AjaxButton/AjaxFallback* and the elements they can be attached to
  • Ajax updates in general: focus after a component is replaced, busy state, the veil, announcements
  • DataTable, AjaxFallbackDefaultDataTable, headers and sorting, PagingNavigator/AjaxPagingNavigator
  • ModalDialog, TabbedPanel/AjaxTabbedPanel, tree components, AutoCompleteTextField, Wizard, Palette, upload fields and UploadProgressBar, date and time fields, BreadCrumbBar, AjaxEditableLabel and its variants, AjaxLazyLoadPanel, the indicating Ajax links and buttons, captcha images
  • page-level output Wicket controls, such as generated <head> contributions and error pages

Method

  1. A harness of test pages that renders each component in its common configurations, including the error and empty states.
  2. An automated pass with axe-core over every harness page.
  3. A manual keyboard pass: reachability, focus order, a visible focus indicator, no keyboard traps, focus after Ajax updates and dialogs.
  4. Where a component implements a widget pattern (tabs, dialog, tree, combobox), a comparison with the WAI-ARIA Authoring Practices pattern.

Deliverable

A findings report with, for each finding: the component, what it renders, the WCAG 2.2 success criterion it fails, the severity (blocks use / hinders use / minor), the proposed fix, and whether the fix changes markup in a way applications could notice (CSS selectors, TagTester assertions). Findings that come from the application rather than the framework are listed separately with a note.

The findings are grouped into slices that each become a follow-up issue: the framework fix, the reference documentation of what the component renders, a how-to and a runnable example with an automated accessibility check. Fixing is not part of this issue.

Ngôn ngữ chính
Java
Star
800
Fork
437
Merge trung bình
21 giờ 36 phút
Pull request đã merge (30 ngày)
167

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 apache/wicket

Tất cả issue của apache/wicket

Issue tương tự

Thêm issue về Java

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.