View Single Post
Old 05-02-2019, 09:26 PM   #24
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by elibrarian View Post
I've no intention of starting a long and esoteric discussion, but reading the latest posts here I can't help thinking, that we're inventing obstacles where none are to be found.

I can't find anywhere any indication whatsoever that it should be "bad" to style <Hx>-elements with css or having to hide them. But I can find tons of examples of what to do with them in css …

And I know, that an empty Hx tag would be real bad for search engine optimization, if it occured on a "real" webpage. In an epub, it will pass epubcheck, but ACE will generate an error "Element does not have text that is visible to screen readers …"

Just my 2 ¢ thoughts …

Regards,

Kim
Kim
If heading elements in HTML are structural, and meant to be used for that purpose, then, yes, using them merely for styling in a non-structural way would be "bad." We haven't really pierced the semantic web yet, in eReaders, but we are certainly getting there from here, and to screw up the hierarchal layout, just to avoid using proper css with paragraph styles, etc., seems...contraindicated.

Offered FWIW.

Hitch
Hitch is offline   Reply With Quote