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

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

Open
oldrup opened this issue Jan 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@oldrup
Copy link

oldrup commented Jan 30, 2024

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

@mtoensing mtoensing added the enhancement New feature or request label Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants