Repository navigation
Version 0.17.0
What's Changed
Added
- Abbreviations: a
<sub alias="…">(from<abbr title="…">/<acronym title="…">in@readium/guided-navigation) is read as its abbreviation followed by its alias in parentheses, e.g. "The WHO (World Health Organization) said."; withinterruptions: { abbreviation: "inline" }, the alias is spoken in its place; with"never", only the abbreviation is read. The alias is located on its abbreviation. bibliorefandglossrefare read like a note reference: the bibliography entry or definition@readium/guided-navigationembeds for a target in the same document follows theirinterruptionssetting. Their own text is always read in place. With"after", a definition is read with its term, e.g. "Fresnel lens: A compact lens for focusing light."; with them incontextualize, it's preceded by "Glossary definition.", and a bibliography entry by "Bibliographic reference."Interruptiontype:"never","inline"or"after".
Changed
- Breaking:
interruptionsreplacesinlineContextualization, inExtractUtterancesOptions,SpeechPreferencesandSpeechPreferencesEditor, where it's aPreferenceof that record instead of aStringArrayPreference:{ noteref: "inline", pagebreak: "never" }, each role"never","inline"or"after"(the default), andinterruptionRolesreplacesinlineContextualizationRoles. It applies under everyverbosity: reading notes or page breaks never no longer takesverbosity: "custom"andskip.skipignoresnoteref,pagebreakandbiblioref, which leaveskippableRoles. verbositypresets no longer skip footnotes, note references, page breaks and bibliography references:skippedAtVerbosityno longer hasfootnote,noteref,pagebreakorbiblioref.@readium/guided-navigationis^1.2.2.
Fixed
- Text spoken in place of a note reference, page break or other placeholder right after an opening bracket or quote no longer gets a space after it, e.g. "(Smith, 1988)" instead of "( Smith, 1988)".
- An utterance that is only an element's
aria-label(e.g.<p><a aria-label="Note 1">[1]</a></p>) is located on that element, or its nearest located ancestor, instead of searching the page for its label's text. - A table cell or row header holding a note reference is read once, as "Header: value", instead of its text being read again after it.
ReadiumSpeechNavigator's word boundaries after an element'saria-labelin the same utterance (e.g.See <a aria-label="chapter one">1</a> and more words.) locate their words again, instead of none past the label.
Full Changelog: v0.16.1...v0.17.0