mobile-web-interactions
Installation
SKILL.md
Mobile Web Interactions
Improve touch ergonomics without removing useful browser behavior or weakening keyboard, zoom, mouse, pen, or assistive-technology access.
Apply this skill only to websites rendered by a browser. Use native-platform guidance for SwiftUI, UIKit, Jetpack Compose, or Android Views.
Procedure
Step 1: Establish the Interaction Boundary
- Read the repository instructions and inspect the rendered control, its semantic element, surrounding targets, layout containers, and existing pressed, focus, hover, disabled, and loading states.
- Confirm whether the issue is tap feedback, accidental selection, target size or spacing, form-control focus zoom, gesture handling, or an interaction that depends incorrectly on hover.
- Use a native
button, link, or form control when its semantics fit. Do not repair a generic clickable element with CSS alone. - Keep general responsive layout and broad accessibility work outside this skill. Use the relevant companion skill when those concerns dominate.
Step 2: Preserve or Replace Browser Feedback Deliberately