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

Provide styles to normalize drop caps #41

Open
JayPanoz opened this issue Apr 30, 2018 · 0 comments
Open

Provide styles to normalize drop caps #41

JayPanoz opened this issue Apr 30, 2018 · 0 comments
Labels
a11y Accessibility-related issues and feature requests
Milestone

Comments

@JayPanoz
Copy link
Collaborator

This is part of the accessibility baseline, as defined by issue #18

We currently normalize everything but drop caps when the a11y flag is set, removing italics, superscripts, etc.

Drop caps are quite popular in ebooks (for some unknown reason 😛) and their implementation can vary greatly so we need to find some reliable way to normalize them e.g. if using p:first-letter, it won’t override span.dropcap so we need to go the extra mile, it’s impossible to override svg and img, etc.

This normalization is bound to fail with at least some implementations.

@JayPanoz JayPanoz added the a11y Accessibility-related issues and feature requests label Apr 30, 2018
@JayPanoz JayPanoz added this to the beta release milestone Apr 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Accessibility-related issues and feature requests
Projects
None yet
Development

No branches or pull requests

1 participant