Skip to content

Version 0.9.0

Choose a tag to compare

@JayPanoz JayPanoz released this 11 Sep 16:12
· 133 commits to main since this release

What's Changed

Added

  • Contextualization catalog: translatable, i18next-based JSON replacing the code-defined announcement catalog. See UtteranceExtraction.md.
  • ExtractUtterancesOptions.contextualizationLocale — pick which shipped catalog locale to use.
  • ExtractUtterancesOptions.contextualization — for a custom or overridden catalog: override wording, shape, and params per call.
  • ReadiumSpeechNavigatorConfiguration.contextualizationOverrides — the same overrides, set once for a navigator.
  • ReadiumSpeechUtterance.locate — options for createLocator() to build a locator for the utterance's source.
  • ReadiumSpeechUtterance.synthetic — true when the utterance's text isn't copied from the source, so word-level highlighting can be skipped (element-level highlighting via locate still works).
  • makeGnd()/parseMarkup() can generate textrefs from a live document. See GuidedNavigation.md.
  • Table cell/rowheader/row contextualizations carry positional context (column header, row number).

Changed

  • extractUtterances(), extractUtterancesWithSources(), loadGndContent(), and submitPreferences() are now async.
  • LocatorOptions restructured around text/cssSelector/domRange/fragment.
  • skippableAtVerbosity renamed to skippedAtVerbosity.
  • setRate()/setPitch()/setVolume() now restart the current utterance so changes apply immediately, not on the next one.
  • An unscoped <th> resolves to columnheader/rowheader instead of always cell.
  • A table/figure with no explicit ARIA name now speaks its caption as its own description instead of as a separate utterance.
  • A link with an accessible name speaks that name instead of its visible text.

Fixed

  • setRate()/setPitch()/setVolume() and playback-rate clamping no longer propagate NaN/±Infinity.

Removed

  • defaultAnnouncements, Announcement, AnnouncementKey, AnnouncementPair, Announcements, RoleAnnouncement, isAnnouncementPair — superseded by the JSON contextualization catalog (defaultContextualizations, Contextualizations, ContextualizationEntry).
  • ExtractUtterancesOptions.announcements — superseded by contextualization.contextualizations.

by @JayPanoz in #58

Full Changelog: v0.8.1...v0.9.0