nlbdev / nordic-accessible-epub-guidelines

2 stars 2 forks source link

3.4.9 Bold and Italics - limit usage to one or the other? #71

Open eliseaas opened 4 weeks ago

eliseaas commented 4 weeks ago

Would it be beneficial to specify that one should use one or the other of em and strong? Suppliers often use both at the same time, causing issues in Braille production (at least at NB). This is a recurring issue in sidebars and figure captions; <strong><em>Se på fuglen!</em></strong>.

oscarlcarlsson commented 3 weeks ago

There might be cases where both are needed to distinguish things visually. But they shouldn't be used unnecessarilly.

jonaslil commented 1 week ago

A way to achieve the visual styling without nesting <strong> and <em> would be to apply a class to one of the elements: <strong class="bolditalic">, then add a CSS rule for this class.

AndersEkl commented 1 day ago

I read through the section and I think we should re-think this. We say that only <em> and <strong> should be used and then refer to KB for markup principles. But in the KB section they also use <b> and <i>. Since we only use <em> and <strong> we frequently use those elements incorrectly.