FLUID-6758: Selection reading continues from where page reading stopped

Metadata

Source
FLUID-6758
Type
Bug
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Justin Obara
Created
2022-12-07T12:00:59.671-0500
Updated
2024-07-22T10:35:02.814-0400
Versions
  1. 4.5
Fixed Versions
  1. 4.6
Component
  1. Text To Speech

Description

Steps to reproduce:

  • Open the Orator demo
  • In the first paragraph select text starting from "Considering inclusion in all" until the end of the paragraph.
  • Trigger the page reading to start
  • Stop the page reading once the it gets to about the word "diversity" in the first sentence of the first paragraph.
  • Start the selection reading by clicking the "Play" button in the popup
  • Notice the reading continues from where it was stopped in the page reading, not from the selected text.

Environments

Firefox 107.0.1 (macOS 13.0.1)

Comments

  • Justin Obara commented 2022-12-07T12:35:13.469-0500

    From some further investigation it appears that the selected text is being read after the page text. This would suggest that the speech synthesis queue isn't being cleared and the selected text is just being appended.