|
|
#31 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49,230
Karma: 174632678
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
They should be ignored. A quick test of an ePub3 read using the RMSDK renderer on a Kobo ereader showed no difference when I added section and article.
|
|
|
|
|
|
#32 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,394
Karma: 150264805
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
It's only the offset text that gets a <blockquote> as it should. Regular paragraphs would not need such.
|
|
|
|
| Advert | |
|
|
|
|
#33 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,394
Karma: 150264805
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
|
|
|
|
#34 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,394
Karma: 150264805
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Things line <section> and <article> will get ignored as needed. Just remember, do not use a class with any of these sorts of things or you could break your eBook's backwards comparability.
|
|
|
|
|
|
#35 | |
|
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,430
Karma: 20456789
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
If the OP is making a commercial product, then, of course, they would need to provide fallback coding for those ancient devices. As you also know, that should not prevent them from using current coding techniques to make their books look as good as possible. The use of <article> and <section> are ePub3. The new standards should be used as much as possible if for no other reason than to keep them current longer. If those old devices can’t grok the new coding they are required to ignore them gracefully. That means they might have a slightly less-pretty product, but will be able to read it just fine. If the device doesn’t follow the spec, and crashes completely, then it’s time to toss the device… as you know. |
|
|
|
|
| Advert | |
|
|
|
|
#36 | |
|
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15,270
Karma: 112999999
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
Kobo in both modes does support Blockquote. It should also have a class to explicitly set margins rather than accepting whatever default is defined by the renderer. Never have nested blockquotes. I've seen that stupidity in old mobi source (HTML3). Last edited by Quoth; Yesterday at 07:10 AM. |
|
|
|
|
|
|
#37 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,394
Karma: 150264805
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Thing is, Kobo is not old. Just RMSDK is old. So you do have to code for it whenever possible. However, things like <article> and <section> are ignored. Just don't use any classes with these ePub3 specific tags. Last edited by JSWolf; Yesterday at 07:30 AM. |
|
|
|
|
|
|
#38 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,394
Karma: 150264805
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
|
|
|
|
#39 | |
|
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,430
Karma: 20456789
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
For your own books, do whatever you "like", but please don’t come on here presenting your "likes" as good practice. |
|
|
|
|
|
|
#40 | |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 518
Karma: 65460
Join Date: Jun 2011
Device: Kindle Voyage, Boox Go 7
|
Quote:
Mr. Amazing's Wonder Emporium Come One! Come All! We're open 24/7, but only for a LIMITED TIME! Some exhibits restricted to 18+... Be prepared to be shocked, horrified, thrilled, and delighted!! $5 entry; group discounts available DISCLAIMER GOES HERE...... Would you blockquote that? Or limit yourself to a <div> for the top/bottom/left/right margins around the one or more <p>s that constitute the flyer's contents? Semantically, I think of this as functionally a blockquote, as the content is representing text that exists apart from narrative text. It's "quoting" the contents of the flyer. But by that logic, I'm also inclined to use it for signage that's much shorter, e.g.: BEWARE OF GOD KEEP OUT! From an accesibility standpoint, I would think blockquoting these communicates more contextual information to the consumer than <div>-ing them, but I don't know what is standard practice. Last edited by ElMiko; Yesterday at 10:47 AM. |
|
|
|
|
|
|
#41 |
|
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Nov 2025
Device: none
|
I think it can be compared with movies. If something need a dedicated shoot, like a poster/flyer/long quote, it needs blockquote. If it does not have a separate shoot, like someone is talking and just bring up a sentence, it does not need blockquote.
It's more of a flow and vibe thing rather than technical and standard thing I so think. |
|
|
|
|
|
#42 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,578
Karma: 21743557
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
In my latest ebook (to be uploaded soon) I use <blockquote> for letters inserted in the narrative, with offset left margin (but not right, to better fit narrow screens). Printed books would use both left and right offset, and/or smaller type. I also use:
Code:
em, span.foreign, span.title {
font-style: italic;
}
Code:
Hubert Sand never <em>wore</em> this dressing-gown. There is our <span class="foreign" xml:lang="fr">jeune premier</span>, Mr Knight a burlesque of <span class="title">Hamlet</span>. |
|
|
|
|
|
#43 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 325
Karma: 3200000
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
Quote:
But I absolutely 100% understand, and have no strong argument against, the idea that you shouldn't do that because "meaningless" is better than "wrong meaning." I could see getting there myself in time. |
|
|
|
|
|
|
#44 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,176
Karma: 6565382
Join Date: Nov 2009
Device: many
|
You can also use a section tag with whatever css you want but with an aria-label attribute to identify things for a screen reader. If you want you can add aria attributes to many other kinds of tags as long as you follow the aria rules.
|
|
|
|
|
|
#45 |
|
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,430
Karma: 20456789
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
I imagine the way to differentiate is to ask yourself what it would sound like if you were listening to an assistive technology reading the passage aloud. Some of them will actually say the word "Quote" aloud before they start reading anything in a blockquote to give the listener context.
If you don't mind a listener hearing "Quote" before any indented sentence, letter, banner, etc. then you could use a blockquote; otherwise a div would be more appropriate. Especially since you can make a div look exactly how you want - not just relying on a blockquote's visual default. I also bow to Kevin's greater familiarity with section tags/aria labeling in ePub3! Last edited by Turtle91; Yesterday at 06:07 PM. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| which do you prefer | LH07 | General Discussions | 33 | 02-03-2014 08:04 AM |
| Which one do you prefer more and why? | Ganiy | General Discussions | 63 | 12-16-2013 08:27 PM |
| What do you prefer? | FullCircleDesign | General Discussions | 52 | 08-05-2013 08:33 AM |
| Which of these books do you prefer | Enkidu of Abydos | Lounge | 43 | 03-18-2011 09:21 PM |
| PRS-900 Which dictionary do you prefer? | Penforhire | Sony Reader | 3 | 01-26-2010 11:10 AM |