Skip to content

Remove the selector template from the DOM #10

Description

@pento

This avoids any UAs accessing the elements before they're ready to be used - a misbehaving screen reader trying to read alt text prematurely, for example.

Wrapping it in a <script type="text/html"> tag should do the trick.

Props @peterwilsoncc for the suggestion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions