1 (edited by Hanns Holger Rutz 2023-12-01 00:24:12)

Topic: reader view

Hi there,

I want to propose to better support Firefox Reader View for the graphical editor. The reader mode is an important accessibility tool, and also useful in other scenarios (such as creating print export).

Currently, the browser has to use some guesses as to what the contents of a graphical editor weave is. For instance, for https://www.researchcatalogue.net/view/381565/2420281 it just filters everything away except the section starting with "Elements of a Configuration".

I'm not an expert on creating good HTML for reader mode, but I believe one should use `<article>` and `<section>` elements. When I am trying to add them to the source editor of the HTML tool, these tags are sadly removed by the RC editor.

Best, .h.h.

P.S. see https://github.com/mozilla/readability/blob/main/Readability.js#L128

Re: reader view

Thank you! I think that sounds like a very reasonable suggestion. We are going to try to see what we can do in this regard. I think it would be a step forward in general accessibility as well.

In a similar spirit, me and Daniele Pozzi have been working on general RC exposition parser, one of the things we imagined it could be used for is to create better text versions. We already support downloading the exposition content (tools, media-urls, text, style, position) as a JSON. You can find a link at the bottom of an exposition detail page within the RC Visual Map link, for example here. It shouldn't be very hard for us to add a reader-friendly output as well.