readium / readium-css

🌈 A set of reference stylesheets for EPUB Reading Systems, starting with Readium Mobile
https://readium.org/readium-css/
BSD 3-Clause "New" or "Revised" License
89 stars 20 forks source link

Default Stylesheet for non-reflowable EPUB contents e.g. reading mode #133

Open JayPanoz opened 3 months ago

JayPanoz commented 3 months ago

I'm submitting a topic for discussion, as requested by @HadrienGardeur during the monthly call yesterday.

Short description of the issue/suggestion:

At the moment ReadiumCSS is providing styles that are designed specifically for reflowable EPUB contents.

In the foreseeable future, Reading Apps may implement features such as Reading Mode for other contents and it could be useful ReadiumCSS provides styles for such.

Let’s use this issue as a place to discuss needs and requirements.

gautierchomel commented 1 month ago

Reading Mode is a simplified view intending to provide fluid content from a complex design.

Apart from vanilla styles for structure tags, there's also to consider that complex design is usually a vehicle for semantics through visual enhancement. This feature should be considered from an assistive technology approach.

Therefore, Reading Mode should implement a verbosity setting, allowing the injection of semantic content. Few examples:

This list is non exhaustive and should be a starting point for discussion.

gautierchomel commented 1 month ago

Also, because most fixed layout ebooks are not designed to be reflowed, there are probably some warnings to implement. Those could be based on metadata present or inferred.