Skip to content

Warn about improper RFC2119 usage, and about example without id #147

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
13 changes: 7 additions & 6 deletions index.bs
Original file line number Diff line number Diff line change
@@ -17,6 +17,7 @@ Abstract: This specification defines a JavaScript API to enable web developers t
Abstract: It enables developers to use scripting to generate text-to-speech output and to use speech recognition as an input for forms, continuous dictation and control.
Abstract: The JavaScript API allows web pages to control activation and timing and to handle results and alternatives.
Markup Shorthands:css no, markdown yes, dfn yes
Complain about:accidental-2119 yes, missing-example-ids yes
</pre>

<pre class=biblio>
@@ -858,7 +859,7 @@ These events do not bubble and are not cancelable.

<h3 id="examples-recognition">Speech Recognition Examples</h3>

<div class="example">
<div class="example" id="input-field">
<p>Using speech recognition to fill an input-field and perform a web search.</p>

<pre class="lang-html">
@@ -879,7 +880,7 @@ These events do not bubble and are not cancelable.
</pre>
</div>

<div class="example">
<div class="example" id="fill-option-list">
<p>Using speech recognition to fill an options list with alternative speech results.</p>

<pre class="lang-html">
@@ -907,7 +908,7 @@ These events do not bubble and are not cancelable.
</pre>
</div>

<div class="example">
<div class="example" id="fill-textarea">
<p>Using continuous speech recognition to fill a textarea.</p>

<pre class="lang-html">
@@ -948,7 +949,7 @@ These events do not bubble and are not cancelable.
</pre>
</div>

<div class="example">
<div class="example" id="continuous-recognition">
<p>Using continuous speech recognition, showing final results in black and interim results in grey.</p>

<pre class="lang-html">
@@ -1003,7 +1004,7 @@ These events do not bubble and are not cancelable.

<h3 id="examples-synthesis">Speech Synthesis Examples</h3>

<div class="example">
<div class="example" id="speak-text">
<p>Spoken text.</p>

<pre class="lang-html">
@@ -1013,7 +1014,7 @@ These events do not bubble and are not cancelable.
</pre>
</div>

<div class="example">
<div class="example" id="speak-text-advanced">
<p>Spoken text with attributes and events.</p>

<pre class="lang-html">