Skip to content

HFP-3654 Fix trailing "dot" for screen readers#16

Open
otacke wants to merge 1 commit into
h5p:masterfrom
otacke:fix-read
Open

HFP-3654 Fix trailing "dot" for screen readers#16
otacke wants to merge 1 commit into
h5p:masterfrom
otacke:fix-read

Conversation

@otacke

@otacke otacke commented Feb 28, 2023

Copy link
Copy Markdown
Contributor

When merged in, will prevent the score feedback to create a string that may cause the read function to read something like You got x out of y points. . Something else (with an extra "dot" in between).

background

Currently, when building the string that's read as feedback from the score bar and the content string is empty, the resulting string will be something like:
You got x out of y points. with a trailing space at the end. When the read function receives some other string before the feedback is read, it will concatenate the feedback string with the other string, but also put a . in between that will cause a "dot" to be read.

@otacke otacke changed the title Fix trailing "dot" for screen readers HFP-3654 Fix trailing "dot" for screen readers Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant