daisy / ebraille

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

Supporting different table layouts #236

Open jasonjgw opened 3 months ago

jasonjgw commented 3 months ago

In embossed braille, tables that exceed the line length are typically linearized. However, this may or may not be the desired outcome for braille display users, who may in some cases prefer to pan the display to the right in order to read subsequent table columns.

How can both scenarios be supported, particularly in view of the potentially different needs of embossed and displayed braille?

CSS media queries could presumably be written to give different layouts depending on line length, but if a braille display is used, the user may need to override the line length-conditional formatting, ideally without creating a custom style sheet.

What is the best way to support embossed and dynamically displayed scenarios in the eBraille format?

bertfrees commented 3 months ago

I think media queries are indeed the answer. I can imagine there would be a user preference setting for allowing tables and other wide content to overflow the viewport. eBraille publications could then use the overflow-inline media feature to query this information and style tables accordingly.

Having end users create custom style sheets is something that is probably best to be avoided, and it doesn't seem necessary for this use case.

jasonjgw commented 3 months ago

Support for appropriate media features and the associated user configuration options (for this use case and others) is presumably an eBraille reading system requirement that should be specified somewhere. I think we want it to be implemented consistently among reading systems.