Image zoom and thumbnail expansion across input modes
Draft fixtures. Expected outcomes below are test instructions, not completed test results. No external requests, dependencies or analytics.
Fixture list and exact steps
P18-F1: inline expansion. Tab to Expand inline and press Enter. Expect the large diagram visible, expanded state true and focus still on the trigger. Use Zoom in, Zoom out and Reset. Record scale and scroll position.
P18-F2: inline Escape. Focus a control in the expanded panel, press Escape. Expect panel closed and focus returned to Expand inline. Reopen to check reset state.
P18-F3: dialog. Activate Open diagram dialog. Expect the named dialog and close control. Tab through its controls and press Escape. Record focus return. Reopen and use Close. Unsupported dialog methods are reported, not replaced with an untested focus trap.
P18-F4: narrow viewport and touch. Resize, then repeat using a real touch device. Use explicit zoom buttons and the scroll region; no pinch gesture is intercepted. Record native scroll/pinch behavior separately.
P18-F5: cleanup. Open either view, change scale, then Close and reset all. Reopen; expect scale one. All artwork is original inline SVG.
Inline view
Dialog view
Scale one; views closed.
Observation log
Focus: not recorded yet
Ready; no reviewer observations recorded.
Touch, screen-reader announcements and cross-browser behavior require separate observations.