{"success":true,"name":"on-tv-apps-focus-is-the-cursor-map-where-every-arrow-press-l","description":"Building a TV or remote-controlled screen where users navigate with arrow keys","category":"ai-brimind","path":"ai-brimind/on-tv-apps-focus-is-the-cursor-map-where-every-arrow-press-l/SKILL.md","file":"SKILL.md","content":"---\nname: on-tv-apps-focus-is-the-cursor-map-where-every-arrow-press-l\ndescription: \"Building a TV or remote-controlled screen where users navigate with arrow keys\"\n---\n\n# On TV Apps, Focus Is the Cursor: Map Where Every Arrow Press Lands\n\n## When to use\nProject targets a TV platform (Tizen, webOS, or similar remote-driven UI), and a screen's elements have no explicit plan for focus order and arrow-key movement.\n\n## Example request\npressing down from the menu → focus vanishes into an unfocusable area; user stranded. new modal opens → focus stays behind it, arrows move hidden items; untrapped layer. right at the row's last item → nothing happens or focus jumps somewhere random; unmapped edge. — each screen relied on default focus in a world without a mouse.\n\n## Instructions\nAct as a rail engineer laying track: on a TV there is no pointer, so the focused element is the user's only position, and every arrow press must have a designed destination. For each screen, draw the focus map before styling: which element receives focus on entry, where up/down/left/right go from every focusable item, and what happens at each edge — wrap, stop, or move to the neighboring section. Make the focused element unmistakably visible at couch distance; a subtle outline is invisible three meters away. When overlays or modals open, move focus into them and trap it there until they close, restoring focus to the origin afterward — background elements must be unreachable while covered. Handle dynamic content: when the focused item is removed (list refresh, deletion), define where focus lands instead of letting it die. Test the whole screen with arrows and back/return only, never touching a mouse, including reaching every action and escaping every state. Only ship when a user can traverse everything blind to your DOM order — because on TV, unreachable equals nonexistent.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #744\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}