Summary
Add stable accessibility labels and data-worldos-testid hooks so agents and Playwright can drive WorldOS by UI contract instead of pixel coordinates or text fragments.
Required hook coverage
- Primary navigation and screen tabs
- Provider selector and start/resume controls
- Action palette buttons
- Chat/move input and submit affordance
- Modal close buttons
- Active actor/chosen hero display
- Error banners and provider status banners
Acceptance criteria
- No visible text is added solely for tests.
- Hooks are stable across visual copy changes.
- The Playwright palette can prefer role/name/testid over coordinate clicks.
- Keyboard path works for the same core controls where applicable.
- Static tests or DOM snapshot tests prove key controls expose ARIA labels/test IDs.
Summary
Add stable accessibility labels and
data-worldos-testidhooks so agents and Playwright can drive WorldOS by UI contract instead of pixel coordinates or text fragments.Required hook coverage
Acceptance criteria