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

未关闭
#1,838 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
28/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
css, html, java, javascript

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Java
星标
800
派生
437
平均合并
21 小时 36 分钟
30 天内合并 PR
167

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/wicket 的其他 Issue

查看 apache/wicket 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。