Skip to content

feat(user-interface): default two-axis touch elements to tap-to-activate - #14524

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-14213-42595053300-1
Nov 9, 2026
Merged

melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-14213-42595053300-1

Conversation

@melodic-automation-lanes

@melodic-automation-lanes melodic-automation-lanes Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Closes #14213

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Adds the touch.both_axes_activation key (tap-to-activate by default, or always-active) to the user-interface defaults, team schema and README, and adds a touch-web.md rule after "Gesture surfaces declare their axis". Under that rule, an element that needs both axes starts inactive so the page scrolls across it, one tap activates it, and a tap outside, a visible control or Esc leaves it, with the way out shown to the user. The project's own pattern beats the key. The default is Emil Kowalski's tap-to-interact approach, recorded as a Post sources row in his upstream record. No measured fact or accessibility floor changed his value. WCAG 2.2 SC 2.1.2 (No Keyboard Trap) is the keyboard floor and holds whatever the key says. The three ways out are the owner's decision (Q61), because his post does not say how to leave. A fresh-context review found that the rule conflicted with the previous axis rule's text and Audit line, and with the write-css gesture-surface recipe, so both now defer to the new rule for elements that need both axes.

Not verified

  • node --test --test-concurrency=4 plugins/user-interface/tests/defaults.test.mjs plugins/user-interface/tests/detect.test.mjs was not run directly: this lane runs no interpreter. Left to the PR's CI; the review read the cascade code and expects both files to pass.
  • AC7 (gh issue view on the ticket body: the post is linked and nothing is quoted) checks the issue's text, not the repository, and this lane cannot run gh. Left to a person.
  • Tidy skipped: the change spans two areas (plugins/user-interface with .changes/user-interface, and docs/upstream), over the 1-area tidy cutoff.
  • Untracked dotfiles in the checkout root (.bashrc, .gitconfig, .mcp.json, .idea, .vscode and similar) were not made by this run and are not part of the change.

Fix

  • plugins/user-interface/reference/types/touch-web.md: new rule "Elements that need both axes tap to activate" with a WCAG 2.1.2 pointer, Hunt for and an Audit line for a both-axes element with no way out; a Symptoms row; the previous axis rule and its Audit line now hand both-axes elements to the…
  • plugins/user-interface/reference/defaults.yaml: top-level touch.both_axes_activation: tap-to-activate with a comment giving its meaning and values
  • plugins/user-interface/reference/team.schema.json: new touch section validating both_axes_activation as a string enum of tap-to-activate and always-active
  • plugins/user-interface/README.md: settings table row for touch.both_axes_activation and a sentence on which skills read the touch key
  • plugins/user-interface/skills/write-css/reference/scroll-and-viewport.md: gesture-surface recipe rule that a both-axes element takes touch-action: none only once a tap activates it, unless the key is always-active
  • plugins/user-interface/tests/defaults.test.mjs: contract gains the touch key; new test that the key accepts its two values and keeps tap-to-activate for anything else
  • plugins/user-interface/tests/detect.test.mjs: expected resolved values and provenance gain touch.both_axes_activation
  • docs/upstream/emilkowalski-skills.md: Post sources row for touch.both_axes_activation linking the 2026-11-04 post, with the WCAG 2.1.2 floor; recheck trigger widened to the touch activation approach
  • .changes/user-interface/work-resolve-issue-issue-14213-42595053300-1-31072a60.md: bump: minor fragment for the new key and rule

Verification

The runner ran each check from the base copy against b1a5995:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • read https: //api.fxtwitter.com/emilkowalski/status/2117955432438469085 (the post at https: //x.com/emilkowalski/status/2117955432438469085, which returned 403 directly): posted 2026-11-04; on touch you can't support scroll and a complex interaction at once, so in his lab you tap an element to…
  • read https: //www .w3.org/WAI/WCAG22/Understanding/no-keyboard-trap.html: SC 2.1.2 requires focus that enters a component to leave by keyboard alone, and the user is told how when leaving takes more than unmodified arrow or Tab keys or another standard exit method; the Intent section names Esc as a…
  • check-changelog-fragments: all 105 fragments valid (an earlier hand-named fragment failed the naming rule; it was replaced through new-changelog-fragment)
  • check-changed-skills: write-css PASS, 0 errors, 6 warnings (all about existing file size and tables of contents, none from this change)
  • check-affected: 12 passed, 7 skipped over 9 changed files
  • fresh-context review subagent: from reading config-cascade.mjs and yaml-subset.mjs, expects both test files to pass and the README to hold exactly one both_axes_activation; its four touch-web/recipe findings were fixed
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/42595053300

Left out: the items under Not verified.

Related

#14213

Merge-Risk: max=HIGH demote=true head=ca79f44f9d146e086aef5ec61f645bc7000b84d2 rubric=8.1.3 rater=claude-opus-5-5 checker=claude-opus-5-5

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed ca79f44f9d146e086aef5ec61f645bc7000b84d2: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #14524 (incremental, b1a5995 → ca79f44)

I found no security issues in this push.

Scope. This was an incremental review. I read every hunk of both files that changed since b1a59956:

  • plugins/user-interface/README.md: one sentence now says that /user-interface:write-css's gesture-surface-that-claims-only-its-axis recipe also reads the touch key.
  • plugins/user-interface/skills/write-css/reference/configuration.md: the intro now names touch.both_axes_activation among the settings that reach the skill as config.values, and a new table row says what the key picks (always-active or tap-to-activate).

What I checked:

  • Docs only. Both changes are documentation. Neither file matches a trusted-path glob, and neither is a plugin manifest, so no manifest lines apply.
  • Settings. The key is the same two-value string enum reviewed at the earlier head. These lines only record that one more skill reads it as UI guidance. Its value reaches no hook, server, script, shell command, path or URL, and grants no token or permission.
  • Instruction surface. No standing instruction is deleted, narrowed or softened.
  • PR text. The PR context has no embedded instructions aimed at this lane.

Blocking only. Prior findings say blocking only: yes, so this review would have reported only CRITICAL and IMPORTANT findings. There were none of either. The earlier summary comment had no findings to carry forward.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on b1a599566f451afc4ca86d98b26f4286717b2555; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed ca79f44f9d146e086aef5ec61f645bc7000b84d2: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #14524, incremental (b1a5995 → ca79f44)

This was an incremental, blocking-only review: the lane already reviewed an earlier head. I read every hunk of both files on the incremental list:

  • plugins/user-interface/README.md
  • plugins/user-interface/skills/write-css/reference/configuration.md

Earlier inline finding (discussion_r4511563765): fixed.

  • The README's touch sentence now names /user-interface:write-css's gesture-surface-that-claims-only-its-axis recipe as a reader of the key.
  • In write-css's configuration.md, the opening sentence now includes touch.both_axes_activation, and the Settings table has a row for it.
  • The row's "files only" is correct: plugin.json declares no touch_* userConfig field, so the key can only be set in config files. Earlier I suggested "every layer"; that wording would have been wrong.

AC24 README count: still holds. The new README text names the recipe, not the key. A grep of plugins/user-interface/README.md still finds both_axes_activation only once, in the settings table row (line 97).

No plugin.json or marketplace.json changed, so no manifest lines apply. This push brought no new blocking findings. The earlier advisory finding (no content test for the AC23 prose in touch-web.md) is not posted again, because this review was blocking only.

The PR context contained no embedded instructions.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head b1a599566f451afc4ca86d98b26f4286717b2555, the head its arming checks judged.

@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor Author

Verification evidence for ca79f44

The verifier passed this head. The capture artifact holds the capture summary, which says whether the capture ran, and any screenshot or video that passed the mask check; this comment uploads no file.

Capture artifact: pr-capture-14524-ca79f44f9d146e086aef5ec61f645bc7000b84d2, expires on 2026-12-09.

One comment per pull request, updated in place for each new head.

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM61NYZK
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on ca79f44.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 9, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head ca79f44f9d146e086aef5ec61f645bc7000b84d2, the head its arming checks judged.

Merged via the queue into main with commit 7d1acfa Nov 9, 2026
64 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-14213-42595053300-1 branch November 9, 2026 10:29
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 7d1acfa0ae422470772a587829156e6fd938dd8f; later checks count it verified from this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(user-interface): default two-axis touch elements to tap-to-activate

0 participants