Apple still doesn’t have documentation and a validator for the Safari Reader mode, right? I have a fully semantic webpage where, for inexplicable reasons, Safari refuses to use the <h2> headings
-
-
-
Replying to @thijs
It’s my good-old, renewed homepage!https://thijs.niks.nu/
1 reply 0 retweets 0 likes -
Replying to @thijsniks @thijs
The headings are wrapped in a link, but it even fails if I remove those
1 reply 0 retweets 0 likes -
Replying to @thijsniks
I don’t think it’s the headings specifically; it tries to leave out things it thinks are not part of running text. The entire “Contact” section is removed, for example. You can google for “safari-reader-js beautified” to see how it works.
1 reply 0 retweets 0 likes -
Replying to @thijs @thijsniks
Haven’t tried it with your page, but I found in the past that “flattening” your markup helps; e.g. get rid of all those “section” containers, for example. OTOH, your page reads fine without reader mode so ¯\_(ツ)_/¯
1 reply 0 retweets 1 like
Ha! Pretty sure Safari Reader is throwing my h2 headers out because the header to length ratio is too high https://github.com/amumu/safari-reader-js/blob/master/safari-reader.src.beautified.js#L579 …pic.twitter.com/aANgfoYskf
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
at
retweets