Skip to content

Suggestion: filter out UTF8 icons like 😁 from auto-generated ID's to better pass accessibility checks. #50

Open
@oldrup

Description

@oldrup

SimpleTOC encodes "special characters" in the header, for instance 😉, when creating an ID for that header, as expected.

That triggers a false "broken link" accessibility check error. Reported here:
equalizedigital/accessibility-checker#483

Screenshot:
300897625-b4402260-ebdc-4ce5-ae79-032312a56dd7

SimpleTOC is not to blame, weird characters need to be encoded in URL's for sure, but have you considered filtering them out entirely. A manual inserted ID without encoded smileys satisfies the accessibility check.

image

Nothing critically that cannot be worked around, but maybe a potential improvement.
Bjarne

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions