Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ceceliacreates opened this issue Oct 6, 2019 · 0 comments
Open

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

ceceliacreates opened this issue Oct 6, 2019 · 0 comments

Comments

@ceceliacreates
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant