Skip to content

Instantly share code, notes, and snippets.

@kosamari kosamari/rubytag.html

Last active Jun 18, 2019
Embed
What would you like to do?
<!-- This, screen reader reads the chinese character too like "chinese character ___, kan, chinese character___, ji" -->
<ruby>
<rp>(</rp><rt>Kan</rt><rp>)</rp>
<rp>(</rp><rt>ji</rt><rp>)</rp>
</ruby>
<!-- This, just reads "kan ji" -->
<ruby>
<span aria-hidden="true"></span> <rp>(</rp><rt>Kan</rt><rp>)</rp>
<span aria-hidden="true"></span> <rp>(</rp><rt>ji</rt><rp>)</rp>
</ruby>
@To1ne

This comment has been minimized.

Copy link

To1ne commented Jun 18, 2019

Using <rb> instead of <span> seems more appropriate, but still good 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.