Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add metadata rules for braille codes #287

Merged
merged 2 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions common/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,51 @@ table.tabledef th {
font-weight: normal;
font-style: italic;
}


/* EBNF tables */


table.productionset {
border: none;
border-left: 5px solid rgb(145,200,255);
background-color: rgb(236,246,255);
}

table.productionset caption {
text-align: left;
font-size: 80%;
font-style: normal;
}

table.productionset tbody tr {
border: none;
}

table.productionset tbody tr td {
border: none;
padding: 0.5em;
border-bottom: 1px solid #ddd;
}

table.productionset tbody tr td a {
text-decoration: none;
border-bottom: 1px dotted #000090;
}

table.productionset tbody tr td a:hover {
text-decoration: underline;
}

table.productionset tbody tr td a:visited,
table.productionset tbody tr td a:active,
table.productionset tbody tr td a:hover {
color: #000090;
}

a.deprecated,
a.legacy {
font-size: 85%;
text-transform: uppercase;
}

29 changes: 13 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@
postProcess: [addDAISYStatus,addCopyrightYear,fixExampleHeaders],
xref: ["epub-33"],
localBiblio: {
"code-registry" : {
"title": "eBraille Braille Code Registry",
"href": "https://daisy.org/s/ebraille/registries/codes",
"publisher": "DAISY"
},
"dpub-aria" : {
"title": "Digital Publishing WAI-ARIA Module",
"href": "https://www.w3.org/TR/dpub-aria/",
Expand Down Expand Up @@ -1102,30 +1107,19 @@ <h5>dcterms:modified</h5>
<section id="a11y:brailleSystem">
<h5>a11y:brailleSystem</h5>

<div class="ednote">
<p>A list of recommended braille code terminology will be provided with a future update to
this document.</p>
</div>

<p>The REQUIRED <code>a11y:brailleSystem</code> property identifies the name of the braille
system an [=eBraille publication=] has been formatted in conformance with.</p>

<p>The property is defined in a <a href="#meta-elem"><code>meta</code> tag</a> with its
<code>property</code> attribute set to <code>a11y:brailleSystem</code>.</p>

<aside class="example" title="A single uncontracted braille code">
<pre>&lt;meta property="a11y:brailleSystem">
UEB
&lt;/meta></pre>
</aside>

<p>The [=value=] SHOULD include all relevant code-specific information (e.g., "contracted",
"uncontracted", "bar by bar" etc.). Specify this information in parentheses after the code
name.</p>
<p>The [=value=] SHOULD be a value from the <a
href="https://daisy.org/s/ebraille/registries/codes/">eBraille Braille Codes
Registry</a> [[code-registry]].</p>

<aside class="example" title="A single uncontracted braille code">
<pre>&lt;meta property="a11y:brailleSystem">
UEB (Uncontracted)
UEB grade1
&lt;/meta></pre>
</aside>

Expand All @@ -1134,7 +1128,10 @@ <h5>a11y:brailleSystem</h5>

<aside class="example" title="Use of a contracted and uncontracted braille code">
<pre>&lt;meta property="a11y:brailleSystem">
UEB (Uncontracted), UEB (Contracted)
UEB grade2
&lt;/meta>
&lt;meta property="a11y:brailleSystem">
UEB grade1
&lt;/meta></pre>
</aside>

Expand Down
Loading