Copyright © DAISY Consortium 2023
…
The eBraille Working Group is seeking input on all aspects of this document. It is particularly interested in implementation experience both creating eBraille publication and creating reading systems in which to read them.
…
The examples in this section are provided only for early illustrative purposes. The exact class names and formatting to use is still under development.
This section only identifies elements for which specific braille formatting requirements are defined by this specification. Authors may use any other [[html]] elements in their eBraille publications.
The recommendations in this specification are included to help facilitate a number of desired features, including:
Asides are used for material that is indirectly related to the document's main content. Examples would include sidebars or call-out boxes.
[^aside^]
class
values:Boxes may be created by lines of braille characters, above, below, to the left or right of a block of text. The characters used, the size and which sides to show, are controlled by CSS.
[^div^]
class
values:box
, nemeth
class
values:box
is used to signify a standard box.box
inside box
when a box contains a box.nemeth
is used for a box that has begin and end Nemeth symbols in its box lines.Braille grade refers to whether contractions are used in the braille transcription. In Unified English Braille, for example, grade 1 braille uses no contractions, while grade 2 uses any applicable contractions. Documents can be in one grade but with sections that appear in a different grade.
[^span^]
class
values:grade-0
, grade-1
, grade-2
Note that terms for braille grade vary throughout the world and that grade-related class values do not directly correlate to how a local region may understand the terms. Hence, in a region where uncontracted braille is called Grade 1, grade-0
is preferred for the class name so that these terms may be better understood internationally. Basically, one should use the least value class for the least contracted grade of braille and move up in value from there.
Additionally, braille grade should only be specified when it changes within the document. Otherwise, metadata is sufficient.
In contrast to print, braille uses characters placed before or sometimes after text to indicate various types of text emphasis. The following elements will not add the braille characters themselves but will instead just track where emphasis is placed so that reading systems can potentially offer features that utilize this information.
[^em^], [^strong^]
Note that [^b^], [^i^], [^mark^], and [^u^] are not recommended and that [^em^] with a class should be used for emphasis other than italics and bold.
class
values:script
, underline
, custom-1
, custom-2
, custom-3
, custom-4
, custom-5
script
— used to denote text that is meant to mimic handwriting.underline
— used to denote text that is underlined.custom-#
— used in UEB to denote text that is emphasized in a way not covered by a planned type of emphasis. For example, you could use it for green highlighting since UEB has no means to denote that kind of emphasis. Other kinds of emphasis that could be represented are text with a different color or a significant font change. It could similarly be applied to other braille codes that have emphasis types not covered by the types available.[^figure^] specifies self-contained content, like illustrations, diagrams, photos, code listings, etc.
[^figure^]
class
values:[^a^], [^div^], [^p^], [^section^]
role
values:doc-noteref
— used to identify the actual symbol of the footnote or endnote. This symbol will typically appear as a superscripted number or symbol in the main body of text.doc-footnote
— used to identify the entirety of a single footnote, so symbol and text.doc-endnotes
— used to identify the entirety of a single endnote, so symbol and text.[^h1^] - [^h6^], [^title^], [^header^]
class
values:running-heading
[^img^], [^a^]
Note that img
is used for jpg, png, and svg, while a
is used for pdf.
class
values:[^span^], [^div^]
Note that span
is used to denote the specific line number, with an ID, class, and aria-label, while div
is used to denote the section that contains line numbers.
class
values:linenum
, prose
, poetry
linenum
— applied to the div and span to identify each as involving line numbers.prose
— applied to the div to identify the section as involving prose text with line numbers (some braille regions have different rules for prose line numbers vs poetry line numbers).poetry
— applied to the div to identify the section as involving poetic text with line numbers.[^a^]
Note that links can be either external or internal. An internal link could point to a location within the same xHTML file or to a different file within the same package. An external link points to a location outside of the package, such as a webpage.
role
values:doc-backlink
— A link that allows the user to return to a related location in the content.doc-biblioref
— A link referencing a bibliographic entry.doc-glossref
— A link to a glossary definition.[^ol^], [^ul^], [^dl^], [^li^]
Note that dl
is preferred for glossary
and index
.
class
values:The reserved class values in this section are only applied to [^ol^], [^ul^], and [^dl^].
nomark
, exercise
, glossary
, index
, toc
, poetry
nomark
— used to prevent the automatic inclusion of list prefixes, like bullets or numbers.exercise
— used to denote an exercise question, typically one in a list format like a multiple-choice question.glossary
— used to denote a glossary entry.index
— used to denote an indices entry.toc
— used to denote a table of contents entry.poetry
— used to denote a line in a work of poetry that is meant to be formatted in stanzas or a way that is similar to a list.[^div^], [^span^]
It's possible to treat a span as a div (and vice versa), so it may be simpler to treat all page numbers as either span or div regardless of whether they interrupt another element.-WF
role
values:doc-pagebreak
— A separator denoting the position before which a break occurs between two contiguous pages in a statically paginated version of the content.[^p^]
class
values:left-aligned
, directions
, hanging
left-aligned
— used to denote a paragraph that should be left justified.directions
— used to denote directions that will typically accompany tests, quizzes, or multiple choice questions.hanging
— used to denote a paragraph in which the first line is set to the left margin, but all subsequent lines are indented.[^pre^]
Note that pre
should be avoided unless otherwise necessary. When pre
is used, the formatting will be hardcoded and not reflowable for different page sizes. In future revisions, additional terms will be defined to reduce instances where pre
is needed.
class
values:[^table^], [^tr^], [^th^], [^td^], [^thead^], [^tbody^], [^tfoot^]
Either the attributes [^th/scope^] or [^headers^] with [^id^] must be used to properly identify the relationship between the cells of the table. [^headers^] with [^id^] is preferred for complex tables.
[^abbr^] should be used with any long row or column headings.
class
values:The reserved class values in this section are only applied to [^table^].
listed
, linear
, stairstep
listed
— presents the same information as the original table but in a listed format that repeats column headings for each entry.linear
— presents the same information as the original table but in a listed format that rearranges the row entries according to their column headings. Column headings are not repeated but are presented in a transcriber's note that precedes the table and informs the reader of the layout of each row's entries.stairstep
— presents the same information as the original table but in a specialized format that puts each row in its own section with each column entry in a list format where each column of that row begins two-cells to the right of the previous column. So the first column is in 1-1, the second in 3-3, and so on. The column headings appear in a transcriber's note and are used to inform the reader of the layout of the table.[^wbr^], ­
class
values:[^span^], [^div^]
class
values:transcriber-note
— used to identify a [^span^] or [^div^] as a transcriber's note, which is text that is added by a transcriber and not part of the original text.