Skip to content

Accessibility Statement ​

OAS-UI is committed to enabling all users — including those relying on screen readers, keyboard navigation, screen magnification, or other assistive technologies — to build interfaces with this component library. This statement describes the accessibility conformance status of the library and this documentation site, along with known issues, evaluation methods, and feedback channels. Component-level details are covered on the Accessibility (A11y) page.

  • Statement date: 2026-12-03 (updated: 2026-12-05 — 2.4.11 manual scroll path locked by real-browser e2e and upgraded to Supports; AX tree snapshot audit channel added)
  • Applies to: the WCAG 2.2 conclusions of this statement correspond to the component-library main branch as of 2026-12-05 (the accessibility batch, not yet released — it will ship with the next version); for the latest released version (v2.6.9), the WCAG 2.2 status is not evaluated, and its WCAG 2.1 status matches the partially-conformant position below
  • Technologies relied upon: HTML, CSS, JavaScript (Web Components / Custom Elements / Shadow DOM)

Scope ​

This statement covers two deliverables:

  1. The component library: all @oas-ui packages (interfaces rendered inside component shadow DOM, theme tokens, and every example in the documentation).
  2. The documentation site (oas-ui.dev): pages in both Chinese and English — the evidence covers the demo areas of all component pages and guide body content (420 pages, see Evaluation methods); the site chrome (navigation / sidebar / footer / search) is outside the per-page scanning scope.

Once the library is integrated into a host application, page-level accessibility is the host's responsibility (page titles, page language declaration, routing structure, host-produced media and content, etc.); this statement covers only the two deliverables above and explicitly notes host-owned items below.

Conforming standards ​

This statement is assessed against the following standards (WCAG 2.2 spec: https://www.w3.org/TR/WCAG22/):

StandardConformance
WCAG 2.1 Level AAPartially conformant (unmet item in 1.4.3 — known issues 2)
WCAG 2.2 Level AAPartially conformant (unmet items in 2.5.8 — known issues 5; 3.3.8 assessed as not applicable — the library contains no authentication flow)
EN 301 549 v4.1.1 (EU, ICT accessibility requirements)The accessibility requirement chapters reference WCAG 2.2 AA; conformance follows as partially conformant
GB/T 37668-2019 (Chinese national standard)Technical requirements reference WCAG levels

Background: the European Accessibility Act (EAA) has enforced accessibility requirements on products and services entering the EU market since 28 June 2025, and industry procurement is progressively adopting WCAG 2.2 AA as the acceptance baseline — which is why this statement locks onto the 2.2 scope.

Conformance status ​

Partially conformant. Per the official WCAG conformance semantics, whenever any AA-level success criterion is unmet or unverified, the overall status is honestly labeled as partially conformant rather than fully conformant. Per-SC mapping:

SCLevelStatusNotes
1.3.1 Info and RelationshipsAConformantTable semantics are complete; a programmatic caption channel is provided (caption attribute / caption slot)
1.4.3 Contrast (Minimum)AAPartially conformantPerceptual-contrast three-tier hard gates are fully green; axe ratio-method has legacy violations being paid down under a ratchet baseline (known issues 2)
2.4.11 Focus Not Obscured (Minimum)AASupportsSticky-header scroll reserve and manual-scroll anchor compensation are both locked by real-browser e2e assertions (chromium); device spot-checks remain optional (known issues 3)
2.5.7 Dragging MovementsAAConformantAll three drag interactions (column reorder / row reorder / column resize) have single-pointer non-dragging alternatives plus keyboard channels, verified in real browsers (known issues 4)
2.5.8 Target Size (Minimum)AAPartially conformantSite-wide sweep is conformant; declared exemptions under known issues 5
3.3.8 Accessible Authentication (Minimum)AANot applicableThe library contains no login / authentication flow

All other AA-level success criteria are met (maintained by the gates described under Evaluation methods).

Known issues ​

The following known issues are declared as-is, each mapped to its success criterion:

  1. 1.3.1 (A) — caption content is supplied by the consumer (the component channel is provided; not a defect). oas-table provides both a caption attribute (plain text) and a caption slot (rich content, takes precedence), rendered by the component as the inner <table>'s <caption> (structural programmatic caption, which takes precedence over aria-label as the accessible-name source per HTML-AAM); the caption content is supplied by the consumer (aria-label remains an explicit override). For hand-written <table>, the caption is the author's to provide.
  2. 1.4.3 (AA) — axe ratio-method contrast has legacy violations. Perceptual-contrast per-node three-tier hard gates are fully green (zero violations on scoreable nodes); the axe ratio-method has 576 legacy violations, guarded by a "only down, never up" ratchet baseline with batch-by-batch paydown (zero tolerance for newly introduced violations). The rationale for running both methods is on the accessibility page.
  3. 2.4.11 (AA) — manual-scroll path locked by real-browser e2e. Under a sticky header, UA focus scrolling reserves the header height via scroll-padding (machine-verified); the manual scroll positioning of keyboard grid navigation uses separate anchor-row compensation, whose real "focused row not obscured" behavior needs on-device review (happy-dom / scripted environments cannot cover it).
  4. 2.5.7 (AA) — single-pointer alternatives for dragging are all in place. Besides the keyboard channels (2.1.1), all three drag interactions have single-pointer non-dragging paths: column reorder (hovering a column header reveals reorder buttons; clicks share the contract), row reorder (hovering a row reveals move-up/move-down buttons, always visible on touch, dispatching the same oas-row-reorder contract), and column resize (double-clicking a column edge auto-fits to content, dispatching the same oas-column-resize contract). All three are verified in real browsers.
  5. 2.5.8 (AA) — target-size exemption (explicit compatibility option only). The site-wide sweep is conformant; all component default forms meet the requirement. The only non-conforming item is the optional controls-position="right-stacked" (stacked up/down arrows on the number input — the legacy visual from 2.1 and earlier): the stacked buttons share the 32px control height, capping each hit area at 16px. This is an explicit compatibility option for existing hosts (documented as not meeting 2.5.8); the default form (side-by-side [-] [+] 24×24) and controls-position="both" (larger buttons on both sides, 32 × control height) both conform. Keyboard ↑/↓ stepping is fully available in all forms.
  6. Screen-reader coverage: automated and scripted testing covers NVDA (Windows + Chrome); the on-device matrix for VoiceOver (macOS / iOS), TalkBack (Android), and JAWS is not yet covered (no device environment currently available). Affected scenarios use NVDA results as the proxy, see Evaluation methods.

If you encounter an accessibility barrier outside this list, please report it via the feedback channels.

Evaluation boundaries and reliability ​

The evaluation evidence decreases in reliability across four layers (see Evaluation methods): machine-verifiable (automated scans and hard gates — repeatable, runs in CI) > semantics and keyboard (locked by tests and probes) > screen-reader verification (single-engine scripted) > on-device manual (not yet covered). The conformance status above uses these evidence tiers: the machine-verifiable layer is fully green within its stated scope (contrast legacy guarded by the ratchet); remaining items from the other layers are listed under Known issues.

Two honest notes:

  1. This statement is a maintainer's self-assessment based on publicly available automated gates and scripted testing; it is not a certification report issued by a third-party audit organization. If a procurement process requires third-party certification, that is a separate engagement.
  2. Accessibility involves real trade-offs against other product values (compact density, visualization surfaces, etc.). The principle applied here: items that are machine-verifiable and contract-safe are fixed immediately; items that would sacrifice core product value are honestly registered with alternative channels rather than claiming false conformance.

Evaluation methods ​

The conformance status is based on six layers of evidence; layers 1–2 run continuously in CI:

LayerChannelScopeCriteria
1Static axe audit (Playwright + axe-core)420 pages: all component and guide pages in Chinese and Englishwcag2a / wcag2aa / wcag21aa rule sets; serious/critical zero tolerance (color-contrast tracked separately, see below); component demo areas and guide body content
2Perceptual-contrast per-node gate117,496 scoreable text nodes (light and dark themes; ~8,256 non-solid-background unscoreable nodes and 1,362 disabled-state exempt nodes guarded by the baseline ratchet)Perceptual-contrast <60 / <45 / <30 three-tier hard gates, zero violations on scoreable nodes
3Interactive-state axe audit187 zh component pages: first 12 demos per page really clicked (overlays / selection / validation errors; select pages in full, table and others with anchor supplements), post-click DOM re-scannedLight and dark themes; serious zero-tolerance + perceptual-contrast three-tier gates
4NVDA screen-reader scripts (NVDA + Guidepup)41 scripted scenario assertions: name/role/state announcements, dialog focus trap and return, live regions, form invalid-state announcements, table semantics, virtual-list activedescendant, etc.Windows + Chrome; local channel (CI runners have no screen reader, so this does not run in CI)
5WCAG 2.2 delta gatesTarget-size site-wide sweep (187 zh component pages' demo areas, shadow-piercing sampling) + source guards + full-component manual audit2.5.8 sweep verdicts (exemptions under known issues); 2.5.7 / 2.4.11 keyboard-behavior assertions and on-device review items under known issues
6AX tree snapshot audit (AT-consumption view)~400 component & guide pages: per-page ratchet on unnamed interactive roles in the AX tree (shrink-only) + role contracts for 10 key componentsopt-in local channel (pnpm test:ax, chromium; snapshots after component upgrade — first sweep found and fixed 52 unnamed demo controls)

Additional notes:

  • Layers 1–2 run automatically with the full e2e suite and constitute the review evidence for every release.
  • Contrast dual-track: perceptual contrast (layer 2) and the axe ratio method (the color-contrast rule of layer 1) run in parallel — the ratio method has legacy violations guarded by the ratchet baseline (only down, never up, paid down batch by batch), outside the zero-tolerance scope.
  • The per-component keyboard behavior and role/ARIA matrix is on the Accessibility (A11y) page.
  • The evaluation does not cover VoiceOver / TalkBack / JAWS or other screen readers (no device environment available; will be added when needed).

Feedback channels ​

Please report any accessibility barrier within the scope of this statement via GitHub Issues:

When reporting, please include where possible: the page or component involved, the assistive technology and its version, reproduction steps, and expected behavior. Accessibility feedback is handled through the project's community support process.

Statement date and review plan ​

  • This statement was published on: 2026-12-03, last updated: 2026-12-05 (AX tree snapshot audit channel added as layer 6, opt-in; conforming standards, conformance status, and known issues updated upon completion of the WCAG 2.2 delta audit)
  • Review plan:
    • Layers 1–2 run continuously in CI; the gate results of each release automatically constitute review evidence;
    • The WCAG 2.2 delta audit was completed (2026-12-04); this statement has been updated accordingly;
    • The screen-reader coverage declaration will be updated once the on-device matrix (VoiceOver / TalkBack / JAWS) is in place;
    • A full review is performed at least every 12 months (including manual audits and a full re-run of the screen-reader scripts).

Released under the MIT OR Apache-2.0 License.