Markpad icon indicating copy to clipboard operation
Markpad copied to clipboard

Restore an accessibility-clean Settings modal after Svelte checker upgrade

Open PathGao opened this issue 4 months ago • 0 comments

After the Svelte toolchain update in #310, npm run check reports an accessibility warning for the pointer-drag handler attached directly to .settings-header. The header contains the close button, so assigning an interactive role to the header would create invalid nested controls.

Keep the existing pointer drag behavior while moving event ownership to the already-semantic dialog and explicitly limit drag starts to the non-interactive header surface. Add a regression test and require npm run check to return with no warnings.

PathGao avatar Jul 31 '26 06:07 PathGao