Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Provide the ability to ignore/exclude custom elements #186

@codebymikey

Description

@codebymikey

It should be possible to exclude certain elements from the audit. We already have this:

https://github.com/Khan/tota11y/blob/eb44df56719a27e2a727005e0c69d88f91204e4c/plugins/shared/audit.js#L15-L22

We can add a default utility selector like .tota11y-ignore to exclude those elements similar to how Google Translate's notranslate class works.

It should however also be possible to provide custom CSS selectors if the library user would rather not or is unable to modify the DOM elements.

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