readium-css icon indicating copy to clipboard operation
readium-css copied to clipboard

Provide styles to normalize drop caps

Open JayPanoz opened this issue 7 years ago โ€ข 0 comments

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 avatar Apr 30 '18 15:04 JayPanoz