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

Extra spaces in conformance strings #518

Open
mattgarrish opened this issue Nov 29, 2024 · 0 comments
Open

Extra spaces in conformance strings #518

mattgarrish opened this issue Nov 29, 2024 · 0 comments
Labels
a11y-display-techniques-onix Issue with the onix accessibility metadata display techniques

Comments

@mattgarrish
Copy link
Member

In the onix techniques, the epub accessibility and wcag version strings have a space both at the start and end. For example:

" EPUB Accessibility 1.0 "

When you combine these together with the preliminary text and the level, you get two spaces between each statement:

This publication claims to meet EPUB Accessibility 1.1 WCAG 2.2 Level AA

If the string is rendered with collapsed space this won't be an issue, but anywhere the space is retained it will look off.

@mattgarrish mattgarrish added the a11y-display-techniques-onix Issue with the onix accessibility metadata display techniques label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y-display-techniques-onix Issue with the onix accessibility metadata display techniques
Projects
None yet
Development

No branches or pull requests

1 participant