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

Problem on iPhone #22

Open
phonoarchive opened this issue Oct 13, 2016 · 4 comments
Open

Problem on iPhone #22

phonoarchive opened this issue Oct 13, 2016 · 4 comments

Comments

@phonoarchive
Copy link

Hello!
Please, could you help me with the issue on iPhone on this website: http://ecupatria.org
There is a broblem with baseline, I tried different things to fix it, but it still doesn't work properly.
Many thanks in advance!

@phonoarchive
Copy link
Author

img_4837

@Ciantic
Copy link

Ciantic commented Apr 5, 2017

This is pretty annoying.

I wonder if someone has done drop caps using SVG generation, I think it would be most reliable.

@cedon
Copy link

cedon commented Apr 6, 2017

@Ciantic But would a screen reader be able to interpret it correctly? Or would you also have to include a hidden span tag for them and add "role=presentation" to the drop cap?

@Ciantic
Copy link

Ciantic commented Apr 8, 2017

@cedon yes or one need to find a other way to hide first letter, e.g. pseudo class ::first-letter. Anyways that part is not the hard part ,one could use the assistively hidden span the very least.

P.S. I think this works: ::first-letter { font-size: 0; } not sure if it works always, but with Chrome at least.

I found this: http://opentype.js.org/ I don't have immediate need to experiment with it, but it could be a useful tool for trying to implement SVG generated drop cap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants