Skip to content

Commit 6c897b9

Browse files
author
Ravi Majithia
committed
#2 Fix hyperlinks are announced by Title
1 parent 390e798 commit 6c897b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/interaction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function Interaction(parameters, player, previousState) {
129129

130130

131131
var isLabelRelevant = (library !== 'H5P.Nil' && parameters.displayType === 'button');
132-
var title = [action.params.contentName, isLabelRelevant ? stripTags(parameters.label) : '', parameters.libraryTitle]
132+
var title = [action.params.contentName, isLabelRelevant ? stripTags(parameters.label) : '', library !== 'H5P.Link' ? parameters.libraryTitle : action.params.title]
133133
.filter(nonEmptyString)[0];
134134

135135
// Detect custom html class for interaction.

0 commit comments

Comments
 (0)