Skip to content

Add raw HTML view for sources with JS-hidden content #151

@monneyboi

Description

@monneyboi

Problem

When viewing archived HTML pages, content inside JavaScript-controlled elements (e.g., accordion panels) is hidden because the JS that would toggle visibility doesn't run. However, our text highlighting/scrolling still targets this hidden content, so the user gets scrolled to an invisible element.

Example: on a Dutch government minister page, career history is inside .accordion__item-panel elements that have max-height: 0px; visibility: hidden by default. JavaScript would add an .active class to reveal them, but in our static rendering it never fires.

Proposal

Add an alternative "raw HTML" or "source text" view that shows the page content without the original CSS hiding rules, so users can see all text content including what would normally be revealed by JavaScript interactions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    guiGUI/interface related issues
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions