adaptlearning / adapt-contrib-narrative

A component that displays an image gallery with accompanying text
GNU General Public License v3.0
5 stars 39 forks source link

Screen reader skips content #243

Closed danielghost closed 1 year ago

danielghost commented 1 year ago

Subject of the issue/enhancement/features

JAWS (doesn't seem to occur with NVDA) can intermittently skip chunks of content when focus is applied to the display text (via a11y.focusFirst) after using the navigation controls.

Your environment

Steps to reproduce

Using the DownArrow, select narrative__controls-right. If the display text contains enough text (or multiple paragraphs) for a screen reader to focus different lines when navigating via the down arrow, it may skip the start of the content and begin reading from further down. If narrative__controls-right is selected via Tab, the screen reader always seems to start reading from the beginning.

danielghost commented 1 year ago

Seems like this is a known JAWS issue and cannot be resolved in Adapt: https://github.com/FreedomScientific/VFO-standards-support/issues/491

Adding the option to defer the focus seems to mitigate the issue, but doesn't negate it completely:

a11y.focusFirst($elementToFocus, { defer: true });
oliverfoster commented 1 year ago

Closing as external bug