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

Open
#1,838 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
28/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
css, html, java, javascript

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Java
Stars
800
Forks
437
Avg merge
21h 36m
Merged PRs (30d)
167

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/wicket

All issues in apache/wicket

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.