Skip to content

Commit

Permalink
fix #47326 Screen readers: Speak characters when editing text
Browse files Browse the repository at this point in the history
When navigating textual elements (e.g. staff text) with the cursor
keys during editing, the screen reader will announce the name of the
character or word to the right of the caret (text cursor). It also
announces when characters are selected or deselected.
  • Loading branch information
shoogle committed Jun 8, 2020
1 parent 3960396 commit 9d1d59a
Show file tree
Hide file tree
Showing 3 changed files with 291 additions and 62 deletions.
2 changes: 1 addition & 1 deletion libmscore/score.h
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ class Score : public QObject, public ScoreElement {
void setAccessibleInfo(QString s) { accInfo = s.remove(":").remove(";"); }
QString accessibleInfo() const { return accInfo; }

void setAccessibleMessage(QString s) { accMessage = s.remove(":").remove(";"); }
void setAccessibleMessage(QString s) { accMessage = s; } // retain ':' and ';'
QString accessibleMessage() const { return accMessage; }

QImage createThumbnail();
Expand Down
Loading

0 comments on commit 9d1d59a

Please sign in to comment.