Add browser accessibility, keyboard, and focus fuzzing oracles#2065
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
wp-codebox/browser-accessibility/v1contract for rule scopes, impact thresholds, cadence, capability requirements, and explicit evidence/exploration budgetsFixes #2023
Architecture and contract
Accessibility is optional configuration on
wp-codebox/browser-adaptive-exploration/v1; it does not add a browser DSL, runner, or artifact system. Runtime core owns normalized product-neutral contracts and stable fingerprints. Runtime Playground collects DOM/ARIA/focus evidence through the installed Playwright runtime and feeds finding fingerprints into the existing adaptive transition, replay, minimization, and browser artifact paths.Recipes can declare rule tags, include/exclude scopes, impact threshold, initial/novel/final cadence, required or optional rule/focus/tree capabilities, and bounds for scans, findings, targets, focus transitions, tree characters, frames, keyboard actions, and aggregate artifacts. Existing authored actions and caller-supplied
accessibilityViolationsremain compatible.Oracle coverage
aria-controlstargets, invalid ARIA state tokens, and expanded/selected/checked state divergenceBoundedness and privacy
Limitations and inconclusive behavior
inconclusive, not passesunsupported; required capability gaps make exploration incomplete, while optional gaps allow other checks to continueTests
Passed:
Repository-wide gate notes:
npm run checkreaches existing baseline issue command-registry-smoke fails on main: wordpress.collect-workload-result outputShape missing outputSchema id mention #1745 (wordpress.collect-workload-resultoutput shape description).artifact-patch-git-apply-smokeexpects a non-repository-relative path).test:release-package-coveragecould not complete because its production dependency install exhausted the shared filesystem's inodes; the test cleaned its run directory, and build/package source coverage relevant to this diff is exercised by the successful release build.