Skip to content

Refactor: Initialize status in JS, not HTML? #28

@ceceliacreates

Description

@ceceliacreates

In the index.html file, there is code for a status (default is "Not Recording") that is grabbed by the JS file and attributed to a variable, domStatus. Is there a reason the data is stored in the HTML as a hidden div instead of as part of the flt object? I'm not sure how hidden divs interact with screen readers, or if there is a specific benefit to storing that data in the HTML.

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