Expand description
elicit_ui — WCAG-enforced accessible UI system using AccessKit as the IR.
Provides a formally verifiable UI construction system using:
- AccessKit universal IR — all UI represented as accessibility trees
- Typestate state machine —
Pending → Verified - Proof-carrying contracts — WCAG compliance enforced by construction
- Multiple frontends — bridge to egui, leptos, ratatui from single IR
§Architecture
WCAG factory traits
↓
AccessKitUiBackend (monomorphic — one concrete impl)
↓
AccessKit IR (TreeUpdate — the validated output)
↓
Frontend bridges (egui / leptos / ratatui — concrete modules)§State Machine
Layout<Pending>— awaiting verificationLayout<Verified>— verified against WCAG Level AA constraints
§Propositions (WCAG Compliance)
HasLabel— element has non-empty accessible labelValidRole— element has valid ARIA roleMinTargetSize— interactive element ≥44x44 (Level AAA touch targets)NoOverflow— element fits within viewportKeyboardAccessible— element keyboard-navigableAccessibleAA— composite (all Level AA criteria)SufficientContrast— color pair meets 4.5:1 ratio (WCAG 1.4.3)FocusVisible— visible focus indicator (WCAG 2.4.11)AltTextProvided— text alternative for non-text content (WCAG 1.1.1)StructuredContent— structure is programmatically determinable (WCAG 1.3.1)RenderComplete— UI tree successfully rendered
Re-exports§
pub use constraints::BreakpointOutcome;pub use constraints::BreakpointReport;pub use constraints::BreakpointResult;pub use constraints::BreakpointTier;pub use constraints::Constraint;pub use constraints::ConstraintContext;pub use constraints::ConstraintSet;pub use constraints::ConstraintSetBuilder;pub use constraints::ConstraintVerification;pub use constraints::GridAlignment;pub use constraints::HasLabelConstraint;pub use constraints::KeyboardAccessibleConstraint;pub use constraints::MinReadableSize;pub use constraints::MinSpacing;pub use constraints::MinTouchTargetConstraint;pub use constraints::NoOverflowConstraint;pub use constraints::Reflow320;pub use constraints::ResizeText200;pub use constraints::SpecReference;pub use constraints::TerminalAccessible;pub use constraints::TerminalBreakpoint;pub use constraints::TerminalBreakpointSet;pub use constraints::TerminalNoOverflow;pub use constraints::TextSpacing;pub use constraints::ValidRoleConstraint;pub use constraints::Violation;pub use constraints::WcagLevel;pub use palette::ContrastReport;pub use palette::ContrastSuggestion;pub use palette::NonTextPair;pub use palette::NormalTextPair;pub use palette::Palette;pub use palette::PaletteBuildError;pub use palette::PaletteBuilder;pub use palette::PaletteColors;pub use palette::SemanticRole;pub use palette::suggest_compliant;pub use text::FontStyle;pub use text::FontWeight;pub use text::ParagraphText;pub use text::RichText;pub use text::TextAlign;pub use text::TextDecoration;pub use text::TextLine;pub use text::TextModifier;pub use text::TextSpan;pub use text::TextStyle;pub use text::UiColor;pub use traits::RenderContext;pub use traits::RenderVerifiable;pub use traits::UiBackend;pub use traits::UiEventBridge;pub use traits::UiEventDispatcher;pub use traits::UiInspector;pub use traits::UiLayoutManager;pub use traits::UiNodeBridge;pub use traits::UiRenderBackend;pub use traits::UiRenderer;pub use traits::UiTreeRenderer;pub use traits::WcagBackend;pub use traits::WcagContrastFactory;pub use traits::WcagElementMeta;pub use traits::WcagErrorFactory;pub use traits::WcagFocusFactory;pub use traits::WcagKeyboardFactory;pub use traits::WcagLabelFactory;pub use traits::WcagLanguageFactory;pub use traits::WcagMediaFactory;pub use traits::WcagOperableFactory;pub use traits::WcagPageMeta;pub use traits::WcagPerceivedFactory;pub use traits::WcagRobustFactory;pub use traits::WcagStructureFactory;pub use traits::WcagTargetFactory;pub use traits::WcagTimingFactory;pub use traits::WcagUnderstandableFactory;pub use traits::verify_in_debug;
Modules§
- constraints
- Composable, spec-backed constraint system for UI layout verification.
- node_
roles - Per-role proof tokens for the
UiNodeBridgechain of custody. - palette
- Proof-carrying colour palette.
- palettes
- Pre-built WCAG 2.2 Level AA–compliant colour palettes.
- text
- Cross-backend text IR — the linebender half of the
elicit_uiIR. - traits
- Trait re-exports and the
UiBackendsupertrait.
Structs§
- Access
KitUi Backend - Reference implementation of all UI traits backed by an AccessKit tree.
- AccessibleAA
- Legacy alias: composite Level AA check.
- AltText
Provided - Legacy alias: non-text content has a text alternative.
- Bounding
Box - Axis-aligned bounding box for a UI element.
- Breakpoint
- A named responsive breakpoint.
- Breakpoint
Set - A set of responsive breakpoints for reflow testing.
- Captioned
Media - A media element proven to have synchronised captions.
- Container
Id - Opaque identifier for a layout container.
- Contrast
Descriptor - Raw input for contrast factory methods.
- Contrast
Enhanced - WCAG 1.4.6 — Contrast (Enhanced), Level AAA.
- Contrast
Minimum - WCAG 1.4.3 — Contrast (Minimum), Level AA.
- Contrast
Pair - A colour pair that has been proven to meet a WCAG contrast threshold.
- Contrast
Violation - A contrast violation for a widget.
- CssParse
Error - Error from CSS parsing.
- Element
Id - Unique identifier for UI elements.
- Error
Descriptor - Raw input for error field factory methods.
- Error
Field - A form field proven to have a descriptive error message.
- Focus
Descriptor - Raw input for focus appearance factory methods.
- Focus
Indicator - A focus indicator that has been proven to meet the WCAG 2.4.11 appearance thresholds.
- Focus
Visible - Legacy alias: visible keyboard focus indicator present.
- HasLabel
- Legacy alias: element has a non-empty accessible label.
- IrSourced
- Proposition: The
VerifiedTreepassed to a renderer was produced by a canonical model’sto_verified_tree()call, not constructed ad-hoc or bypassed. - Keyboard
Accessible - Legacy alias: element is keyboard accessible.
- Keyboard
Descriptor - Raw input for keyboard accessibility factory methods.
- Keyboard
Path - A widget that has been proven to be reachable via keyboard navigation.
- Label
- Accessible label for UI elements.
- Label
Descriptor - Raw input for label factory methods.
- Labeled
Element - A widget that has been proven to have an accessible name.
- Language
Descriptor - Raw input for language factory methods.
- Language
Page - A page proven to have a programmatically identified language.
- Layout
- UI layout with typestate tracking.
- Layout
Builder - Stack-based builder for AccessKit trees.
- Layout
Context - Layout context providing viewport and spatial index data.
- Layout
Engine Error - Error from the layout engine.
- Level
AaEvidence - Evidence required to produce a full
WcagLevelAAValidproof. - Media
Descriptor - Raw input for media factory methods.
- MinTarget
Size - Legacy alias: interactive element meets 44 × 44 CSS px touch target.
- NoOverflow
- Legacy alias: element does not overflow viewport boundaries.
- NonText
Contrast - WCAG 1.4.11 — Non-text Contrast, Level AA.
- Operable
Evidence - Evidence required to prove WCAG Principle 2 (Operable) Level AA.
- Operable
Interface - A UI surface proven to satisfy all WCAG Principle 2 (Operable) Level AA criteria.
- Pending
- Typestate marker: Layout awaiting verification.
- Perceived
Evidence - Evidence required to prove WCAG Principle 1 (Perceivable) Level AA.
- Perceived
Section - A UI surface proven to satisfy all WCAG Principle 1 (Perceivable) Level AA criteria.
- Pointer
Target - A pointer target that has been proven to meet the WCAG 2.5.8 minimum size.
- Render
Complete - Proposition: UI tree has been successfully rendered to a backend.
- Render
Stats - Statistics collected during a render pass.
- Rendered
- Typestate marker: Layout has been rendered to output.
- Robust
Evidence - Evidence required to prove WCAG Principle 4 (Robust).
- Robust
Widget - A UI surface proven to satisfy all WCAG Principle 4 (Robust) criteria.
- Role
Preserved - Proof that a frontend bridge method honoured all role guarantees carried into it — the produced widget preserves every invariant established during validation and dispatch.
- Size
- Element size in pixels (width, height).
- Srgb
Color - sRGB color for contrast checking.
- Structure
Descriptor - Raw input for structure factory methods.
- Structured
Content - Legacy alias: information and structure are programmatically determinable.
- Structured
Element - A widget whose semantic structure has been proven to be programmatically determinable.
- Sufficient
Contrast - Legacy alias: color pair meets 4.5:1 contrast.
- Target
Descriptor - Raw input for pointer target factory methods.
- Timed
Element - A timed element whose time controls have been proven to meet WCAG 2.2.
- Timing
Descriptor - Raw input for timing factory methods.
- UiError
- Error for UI trait operations with source location.
- Understandable
Evidence - Evidence required to prove WCAG Principle 3 (Understandable) Level AA.
- Understandable
Interface - A UI surface proven to satisfy all WCAG Principle 3 (Understandable) Level AA criteria.
- Valid
Role - Legacy alias: element has a valid ARIA role.
- Verification
Error - Verification error with location tracking.
- Verification
Report - Verification report containing all errors found during validation.
- Verified
- Typestate marker: Layout verified against WCAG constraints.
- Verified
Tree - A verified, owned snapshot of the UI tree ready for rendering.
- Viewport
- Viewport dimensions in pixels.
- Wcag
Abbreviations Expanded - A mechanism for expanding abbreviations is available.
- Wcag
Accessible Authentication - Authentication does not require a cognitive function test (unless an alternative, copy-paste, or assistance is provided).
- Wcag
Accessible Authentication Enhanced - Authentication does not require a cognitive function test with no exceptions.
- Wcag
AllFunctionality Keyboard - All functionality is keyboard accessible with no exception.
- Wcag
Audio Control Available - A mechanism is available to pause, stop, or adjust audio that plays automatically for more than 3 seconds.
- Wcag
Audio Description OrMedia Alt - Prerecorded synchronized media provides either an audio description or a full media alternative (transcript + description).
- Wcag
Audio Description Prerecorded - Prerecorded video in synchronized media includes an audio description track for visual-only information.
- Wcag
Audio Only Alternative Provided - Audio-only prerecorded content has a text transcript or equivalent.
- Wcag
Audio Only Live Alternative - Live audio-only content provides a real-time text alternative.
- Wcag
Auto Update Pausable - Auto-updating content can be paused so the user can read it.
- Wcag
Bypass Blocks Mechanism - A skip-to-main-content mechanism or landmark structure allows users to bypass repeated navigation blocks.
- Wcag
Captcha Multiple Modalities - CAPTCHA provides at least two sensory modalities (visual + audio, etc.) so users with sensory disabilities can still pass.
- Wcag
Captions Live Provided - Live synchronized media provides real-time captions.
- Wcag
Captions Synchronized - Captions for prerecorded audio in synchronized media are present and synchronized to the audio track.
- Wcag
Changes OnRequest - Context changes are initiated only by user request; no automatic changes are triggered by time or component state.
- Wcag
Character Shortcuts Disableable - Single-character key shortcuts can be entirely turned off.
- Wcag
Character Shortcuts Focus Only - A mechanism exists to activate shortcut keys only when the component has keyboard focus.
- Wcag
Character Shortcuts Remappable - Single-character key shortcuts can be remapped or disabled.
- Wcag
Color NotSole Conveyor - Color is not the only visual means of conveying information, indicating an action, prompting a response, or distinguishing an element.
- Wcag
Component Purpose Identifiable - The purpose of UI components, icons, and regions can be determined by assistive technology.
- Wcag
Concurrent Input Mechanisms - The platform does not restrict input mechanisms available to users (mouse, keyboard, touch, etc. concurrently).
- Wcag
Consistent Help Located - Help mechanisms (contact info, help page, chat, etc.) are located consistently across pages.
- Wcag
Content Reflowable - Content can reflow into a single column at 320 CSS px without losing information or requiring two-dimensional scrolling.
- Wcag
Context Sensitive Help - Context-sensitive help is available.
- Wcag
Contrast Enhanced Large Text - Large text meets a 4.5:1 enhanced contrast ratio.
- Wcag
Contrast Enhanced Normal Text - Normal-size text meets a 7:1 enhanced contrast ratio.
- Wcag
Contrast Minimum Large Text - Large text (18 pt+ or 14 pt+ bold) meets a 3:1 contrast ratio.
- Wcag
Contrast Minimum Logotype Excepted - Logotype text or text in inactive UI components has no contrast requirement enforced.
- Wcag
Contrast Minimum Normal Text - Normal-size text (below 18 pt or 14 pt bold) meets a 4.5:1 contrast ratio against its background.
- Wcag
Decorative Image AltEmpty - Purely decorative image carries an empty (
"") alt attribute so assistive technology skips it. - Wcag
Dragging Alternative - Functionality that uses dragging movements has a single-pointer alternative that does not require dragging.
- Wcag
Error Identification Descriptive - When an input error is detected, the item in error is identified and the error is described to the user in text.
- Wcag
Error Prevention All - All submissions are reversible, checked, or confirmed.
- Wcag
Error Prevention Checked - Input is checked for errors and the user can correct them before final submission.
- Wcag
Error Prevention Confirmed - A confirmation step or mechanism is available before final submission.
- Wcag
Error Prevention Legal - Legal, financial, or data-change submissions are reversible, checked, or confirmed.
- Wcag
Error Prevention Reversible - Submissions can be reversed after the fact.
- Wcag
Error Suggestion Provided - Error correction suggestions are provided when an input error is detected and suggestions are known.
- Wcag
Extended Audio Description - When standard audio description cannot cover all pauses, an extended audio description is provided.
- Wcag
Flash Area Below Threshold - No single flash occupies more than 25% of the viewport (1024×768 or 10-degree visual field threshold).
- Wcag
Focus Appearance Enhanced Area - The focus indicator encloses the entire focused component and has no area less than a 2px offset from the component.
- Wcag
Focus Appearance Enhanced Contrast - The enhanced focus indicator meets at least 4.5:1 contrast ratio.
- Wcag
Focus Appearance Minimum Area - The keyboard focus indicator has an area of at least the perimeter of the unfocused component × 2 CSS pixels.
- Wcag
Focus Appearance Minimum Contrast - The focus indicator meets at least 3:1 contrast ratio between focused and unfocused states.
- Wcag
Focus Indicator Contrast - The keyboard focus indicator meets the 3:1 contrast requirement.
- Wcag
Focus NoContext Change - Receiving focus on a component does not initiate a context change.
- Wcag
Focus Order Logical - If a Web page can be navigated sequentially and navigation sequences affect meaning or operation, the focus order preserves meaning.
- Wcag
Focus Visible Keyboard - Any keyboard-operable user interface has a visible keyboard focus indicator.
- Wcag
Form Labels Programmatic - Form labels are programmatically associated with their controls.
- Wcag
Heading Structure Programmatic - Headings are marked with programmatic heading roles or semantics.
- Wcag
Headings Descriptive - Headings and labels describe their topic or purpose.
- Wcag
Hover Content Dismissible - Hover- or focus-triggered additional content can be dismissed without moving the pointer or keyboard focus.
- Wcag
Hover Content Hoverable - If a trigger is hovered, the pointer can be moved to the additional content without it disappearing.
- Wcag
Hover Content Persistent - Hover- or focus-triggered additional content remains visible until the trigger loses hover/focus or the user dismisses it.
- Wcag
Identification Consistent - Components that have the same functionality carry the same identification (label, name, or alternative) throughout the site.
- Wcag
Images OfText Avoided - Images of text are avoided in favor of real text.
- Wcag
Images OfText Customizable - Where images of text are used, they can be visually customized to the user’s requirements.
- Wcag
Images OfText NoException - Images of text are not used except where essential (e.g., logotype).
- Wcag
Info AndRelationships Programmatic - Information, structure, and relationships conveyed visually are programmatically determinable.
- Wcag
Input NoContext Change - Changing a setting on a UI component does not automatically cause a context change unless the user is advised beforehand.
- Wcag
Input Purpose Identifiable - The purpose of each input field collecting user information can be programmatically determined (autocomplete).
- Wcag
Interruptions Postponable - Interruptions can be postponed or suppressed (except for emergencies).
- Wcag
Keyboard Escape From Component - A standard key (Escape, Tab, etc.) moves focus out of the component.
- Wcag
Keyboard NoTiming Path - No keyboard path requires a particular timing between keystrokes.
- Wcag
Keyboard NotTrapped - Keyboard focus is never trapped; the user can navigate away from any component using standard keys.
- Wcag
Keyboard Operable - All functionality is operable through a keyboard interface without requiring specific timing for keystrokes.
- Wcag
Label InName Match - The accessible name of a UI component contains the visible label text (case-insensitive, punctuation-independent).
- Wcag
Labels Descriptive - Labels describe the purpose of the UI control they label.
- Wcag
Labels OrInstructions Present - Labels or instructions are provided when content requires user input.
- Wcag
Letter Spacing Adjustable - Letter spacing is adjustable to at least 0.12 em without loss.
- Wcag
LevelAAA Valid - Composite: all WCAG 2.2 Level AAA Success Criteria (A + AA + AAA) are satisfied.
- Wcag
LevelAA Valid - Composite: all WCAG 2.2 Level AA Success Criteria (A + AA) are satisfied.
- Wcag
LevelA Valid - Composite: all WCAG 2.2 Level A Success Criteria are satisfied.
- Wcag
Line Height Adjustable - Line height is adjustable to at least 1.5× the font size without loss.
- Wcag
Link Purpose From Context - The purpose of each link can be determined from its link text alone or from surrounding context.
- Wcag
Link Purpose Link Only - The purpose of each link can be determined from the link text alone (without context).
- Wcag
List Structure Programmatic - List structure is programmatically encoded (not just visual indentation).
- Wcag
Location InNavigation Set - Information is available about the user’s current location within a set of pages (breadcrumbs, site map highlight, etc.).
- Wcag
LowBackground Audio - Background audio is at least 20 dB lower than foreground speech, or can be turned off.
- Wcag
Meaningful Sequence Preservable - Content reading and operation order is determinable from structure alone (not layout or presentation).
- Wcag
Media Alternative Prerecorded - Prerecorded synchronized media provides a full text media alternative for both audio and visual content.
- Wcag
Motion Actuation Alternative - Functionality that can be triggered by device motion (tilt, shake, etc.) also has a conventional UI control alternative.
- Wcag
Motion Actuation Disableable - The device motion trigger can be disabled to prevent accidental activation.
- Wcag
Multiple Paths ToContent - More than one way to locate a web page within a set exists (site map, search, related links, etc.).
- Wcag
Name Present - An accessible name is programmatically present for interactive elements.
- Wcag
Name Role Value Programmatic - All user interface components have an accessible name, role, and state/value information programmatically exposed.
- Wcag
Navigation Consistent - Navigation mechanisms repeated across pages appear in the same relative order each time.
- Wcag
NoHorizontal Scroll Vertical Text - Vertical-text content does not require horizontal scrolling at 256 CSS px.
- Wcag
NoThree Flash Absolute - No content flashes more than three times per second under any circumstances.
- Wcag
NoTiming Required - No time limits are imposed, except for real-time events and where a 20-hour minimum cannot be achieved.
- Wcag
NonText Content AltDescriptive - Text alternative adequately describes the purpose or content of the non-text element.
- Wcag
NonText Content AltNon Empty - Text alternative for a non-text element is non-empty (not just whitespace).
- Wcag
NonText Content AltPresent - Every non-text content element carries a text alternative that serves an equivalent purpose.
- Wcag
NonText Contrast Minimum - User interface components and graphical objects have at least 3:1 contrast against adjacent colors.
- Wcag
Operable Valid - Composite: all WCAG Principle 2 (Operable) Level AA criteria satisfied.
- Wcag
Orientation NotRestricted - Content does not lock display orientation to portrait or landscape.
- Wcag
Page Language Identified - The default human language of the page is programmatically determined.
- Wcag
Page Title Descriptive - The page title is unique within the set of pages, or contextually distinguishable.
- Wcag
Page Titled - Each page or view has a descriptive title that identifies its topic or purpose.
- Wcag
Paragraph Spacing Adjustable - Paragraph spacing is adjustable to at least 2 em without loss.
- Wcag
Parsing Valid - HTML parsing produces no duplicate IDs or unclosed elements (deprecated as an independent requirement in WCAG 2.2 but tracked for completeness).
- Wcag
Part Language Identified - Changes in natural language within content are programmatically
identified (e.g., via
langattribute on passage). - Wcag
Pause Stop Hide Available - Moving, blinking, scrolling, or auto-updating content that lasts more than 5 seconds can be paused, stopped, or hidden.
- Wcag
Perceived Valid - Composite: all WCAG Principle 1 (Perceivable) Level AA criteria satisfied.
- Wcag
Pointer Cancellation Abortable - Actions triggered on down-event can be aborted by moving the pointer off the target before releasing.
- Wcag
Pointer Cancellation Reversible - Actions triggered on down-event can be reversed after completion.
- Wcag
Pointer Cancellation UpEvent - The down-event of a pointer is not used to execute functionality (or the action is abortable / reversible).
- Wcag
Pointer Gestures Simple Alternative - All functionality that uses multi-point or path-based gestures has a single-pointer alternative without a path gesture.
- Wcag
Pronunciation Available - A mechanism is available for pronouncing words where meaning is ambiguous without pronunciation.
- Wcag
Reading Level Supplemented - When content requires reading ability more advanced than lower secondary education, supplemental content or a simpler version is available.
- Wcag
Reauth Without Data Loss - After re-authentication following a session timeout, data already entered is preserved.
- Wcag
Reduced Motion Respected - Animation triggered by interaction can be disabled via a
prefers-reduced-motionmedia query or equivalent control. - Wcag
Redundant Entry Minimized - Information previously entered in the current session is auto-populated or available for the user to select.
- Wcag
Robust Valid - Composite: all WCAG Principle 4 (Robust) criteria satisfied.
- Wcag
Role Programmatic - The role is programmatically determinable for every UI component.
- Wcag
Section Headings Present - Section headings are used to organize content.
- Wcag
Sensory NotExclusive - Instructions do not rely solely on sensory characteristics such as shape, color, size, visual location, orientation, or sound.
- Wcag
Sign Language Prerecorded - Prerecorded synchronized media provides a sign language interpretation.
- Wcag
Status Messages Live Region - ARIA live region levels (polite, assertive, off) are used appropriately to match the urgency of status updates.
- Wcag
Status Messages Programmatic - Status messages can be programmatically determined and do not require focus for assistive technologies to announce them.
- Wcag
Table Headers Programmatic - Table headers are programmatically associated with their data cells.
- Wcag
Target Size Enhanced - Interactive target is at least 44 × 44 CSS pixels.
- Wcag
Target Size Enhanced Height - Target height is at least 44 CSS pixels.
- Wcag
Target Size Enhanced Width - Target width is at least 44 CSS pixels.
- Wcag
Target Size Minimum - Interactive target is at least 24 × 24 CSS pixels, or has sufficient spacing so that a 24px offset circle does not intersect neighbors.
- Wcag
Target Size Minimum Height - Target height is at least 24 CSS pixels.
- Wcag
Target Size Minimum Spaced - Target spacing compensates for undersized targets so the offset circle does not intersect adjacent targets.
- Wcag
Target Size Minimum Width - Target width is at least 24 CSS pixels.
- Wcag
Text Resizable - Text can be resized up to 200% without loss of content or functionality (no assistive technology required).
- Wcag
Text Spacing Adjustable - Content does not lose information when all of the following are applied: line height ≥1.5, letter spacing ≥0.12 em, word spacing ≥0.16 em, paragraph spacing ≥2 em.
- Wcag
Three Flash Below Threshold - Content does not flash more than three times per second, or the flash is below the general and red flash thresholds.
- Wcag
Timeout Warning Provided - Users are warned about inactivity timeouts that could cause data loss (minimum 20-hour threshold).
- Wcag
Timing Adjust TenX - A mechanism is provided to adjust (extend) the time limit by at least 10× the default duration.
- Wcag
Timing Adjustable - Each time limit can be turned off, adjusted, or extended before it expires (with real-time and 20-hour exceptions).
- Wcag
Timing Extend Warning - When a time limit is about to expire, the user is warned at least 20 seconds in advance and given a simple way to extend it.
- Wcag
Timing Turn OffAvailable - A mechanism is provided to turn off the time limit entirely.
- Wcag
Understandable Valid - Composite: all WCAG Principle 3 (Understandable) Level AA criteria satisfied.
- Wcag
Unusual Words Defined - A mechanism is available to identify specific definitions of unusual words or phrases (jargon, idioms).
- Wcag
Value States Programmatic - State and property information (checked, expanded, selected, etc.) is programmatically available for UI components.
- Wcag
Verified - Proof that the
accesskittree was issued from aLayout<Verified>and all WCAG Level AA constraints have been satisfied by construction. - Wcag
Video Only Alternative Provided - Video-only prerecorded content has an audio track or text equivalent.
- Wcag
Visual Presentation Customizable - Visual presentation of text blocks is fully user-customizable (colors, width, alignment, spacing).
- Wcag
Word Spacing Adjustable - Word spacing is adjustable to at least 0.16 em without loss.
- Widget
A11y - Accessibility status for a widget.
- Widget
Id - Opaque identifier for a widget in the UI tree.
- Widget
Info - Summary info about a single widget.
Enums§
- Color
Theme - Selectable color theme for the status bar and other themed UI regions.
- Constraint
Profile - Pre-built constraint profiles for common verification scenarios.
- CssLength
- CSS length unit with numeric value.
- Text
Size - Whether text is “large” per WCAG definitions.
- UiError
Kind - Error kinds for UI trait operations.
- Verification
Error Kind - Specific verification error conditions.
Traits§
- Node
Role Proof - Marker: all 182 per-role
XxxNodeValidproof types implement this.
Functions§
- contrast_
ratio - Compute contrast ratio without the
colorfeature (pure math fallback). - is_
zoom_ invariant - Check if a dimension is zoom-invariant.
Type Aliases§
- UiResult
- Result alias for UI trait operations.