daisy / ebraille

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

Underline paragraph formatting requirements #96

Open jrbowden opened 11 months ago

jrbowden commented 11 months ago

Sometimes, particularly for headings in some countries, a block of text will be underlined with a particular dot pattern. The underline generally is the width of the block of text and to the same alignment (e.g. left aligned if the text is left aligned, centered if the text is centered, etc). Examples include dots 2-5 and 2-3-5-6

CSS bottom border (border-bottom) could be used to achieve the underlining, with the width set to fit-contents, see #65. The actual braille character(s) used for the underlining need be specified as a braille character and this would be an extension to CSS.

bertfrees commented 1 week ago

Missing an example of this in the styling best practices document.