code wiki / (root) / nx_a11y_check_test.nx

nx_a11y_check_test.nx

buildroot/runtime/nx_a11y_check_test.nx

4274 B89 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic a11y
docsdependenciesstructsconstsfunctions

about

nx_a11y_check_test.nx -- smoke for the WCAG 2.2 AA grader. Builds synthetic HTML strings exercising each criterion: - clean HTML (3 WIN) - <img> without alt= (1.1.1 LOSE) - font-size: 14px (1.4.4 LOSE) - "click here" / "here" / "read more" (2.4.4 LOSE) expect_exit: 0 license_tier: ORIGINAL

dependencies 5 imports · 0 importers

nx_syscalls.nx nx_runtime.nx nx_types.nx nx_tier.nx nx_a11y_check.nx nx_a11y_check_test.nx

imports: nx_syscalls.nxnx_runtime.nxnx_types.nxnx_tier.nxnx_a11y_check.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_wcag_criterion_is_valid nx_a11y_card_alloc sys_mmap nx_a11y_scan _count_img_without_alt _a_eq_ci _a_lower _a_byte_at _a_byte_at ↻ _count_px_font _a_eq_ci ↻ _skip_ws_and_digits _a_byte_at ↻ _a_is_digit _count_vague_link _a_eq_ci ↻ _verdict_from_count _strlen nx_a11y_named_improvement

structs

none

consts

none

functions

19func _strlen(s: *u8) -> nx_int
called by 1: main
30func main() -> nx_int