Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

I18n, Labels, & Inputs

I'm working on a character sheet for Shadowrun 6th Edition. I wanted to make sure I adopted internationalization off the top so I didn't have to make a big effort later if I finished & people actually wanted to use it. Since the only way to use labels on the character sheet is to wrap them around inputs, I took that route, thinking all would be fine. Unfortunately, though, when internationalization is applied, it eats up the input fields because of the replacement. Is there a way I can keep the accessibility of the label fields while also keeping the sheet open to internationalization, or will I have to choose between the two?
1587606388
Caden
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Put the text you want in a span <label data-i18n-title='input name'>     <span data-i18n='name'>     <input type='text' name='attr_name' /> </label>
Good call, thank you!