daisy / ebraille

Repository for developing use cases and standard for digital braille
16 stars 5 forks source link

Add exemption for scripting in primary entry page #183

Closed mattgarrish closed 4 months ago

mattgarrish commented 4 months ago

This will only allow script elements if the primary entry page is not listed in the spine, so not reachable by users in a dedicated ebraille reading system.

GeorgeKerscher commented 4 months ago

Looks fine; very simple.

bertfrees commented 4 months ago

What would be an example of "better enable reading of their publication in browsers"?

mattgarrish commented 4 months ago

Creating a UI that lets you read the publication without leaving the primary entry page, while increasing the usability of the document.

Instead of the rudimentary experience of having to click through to each content document or heading from the table of contents, you could, for example, write an iframe to load each document and add previous and next buttons. You could script a means of jumping to specific print pages rather than have a huge page list rendered after the table of contents. Things like that.

I don't know if it takes off in practice, but it carves out an opening to experiment on building such an interface.