Skip to content

Restore an accessibility-clean Settings modal after Svelte checker upgrade #311

Description

@PathGao

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions