Skip to content

public/script.js: axe's descriptions need escapeHTML #1

@pkra

Description

@pkra

Thanks for this tool.

This line

<p>Description: ${violationVariables[type][0]['description']}</p>

needs escaping since axe's description may contain markup, e.g. frame title issues is Ensure <iframe> and <frame> elements have an accessible name.

Happy to make a PR if there is interest.

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