xability / maidr

Multimodal Access and Interactive Data Representation
GNU General Public License v3.0
22 stars 7 forks source link

fix(histogram): address an issue where replaying the current data point with Spacebar does not work #544

Closed jooyoungseo closed 6 days ago

jooyoungseo commented 1 month ago

Replaying the current data point with Spacebar doesn't work in histograms:

Repros

  1. Open https://xabilitylab.ischool.illinois.edu/maidr/galleries/histogram.html

  2. Tab to the interactive plot area

  3. Navigate any data point with arrow keys

  4. Press Spacebar to see if it replays the focused data point

Current Behavior

Replaying doesn't work

Expected Behavior

Spacebar needs to trigger replaying the currently focused data point

ellvix commented 6 days ago

Can't replicate, @jooyoungseo can you see if you still have this issue?

jooyoungseo commented 6 days ago

@ellvix Yes, the issue still exits:

When Spacebar is pressed, Sonification gets replayed. However, the aria-live event is not fired again. It just holds the old one, which means JAWS/NVDA doesn't announce the Text announcement. This does not happen in other plots, such as bar plot.