Skip to content

Commit

Permalink
feat: add an instruction on how to activate maidr plot
Browse files Browse the repository at this point in the history
  • Loading branch information
jooyoungseo committed Oct 23, 2024
1 parent c1d7c6a commit 98237b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function InitMaidr(thisMaidr) {
Array.isArray(singleMaidr.type) && singleMaidr.type.length > 1;

// Construct the final announceText string
let announceText = `${plotTypeString} plot of ${title}: Use Arrows to navigate data points. ${
let announceText = `${plotTypeString} plot of ${title}: Click to activate. Use Arrows to navigate data points. ${
isMultiLayered ? multiLayerInstruction : ' '
}Toggle B for Braille, T for Text, S for Sonification, and R for Review mode. Use H for Help.`;

Expand Down Expand Up @@ -493,7 +493,7 @@ function CreateChartComponents(thisMaidr, chartOnly = false) {
Array.isArray(thisMaidr.type) && thisMaidr.type.length > 1;

// Construct the final announceText string
altText = `${plotTypeString} plot of ${title}: Use Arrows to navigate data points. ${
altText = `${plotTypeString} plot of ${title}: Click to activate. Use Arrows to navigate data points. ${
isMultiLayered ? multiLayerInstruction : ' '
}Toggle B for Braille, T for Text, S for Sonification, and R for Review mode. Use H for Help.`;
}
Expand Down

0 comments on commit 98237b4

Please sign in to comment.