CSR-1342 change aria-label to role="link"
This commit is contained in:
parent
d43aa8f6aa
commit
ffe1428f1f
1 changed files with 1 additions and 1 deletions
|
|
@ -250,7 +250,7 @@ function mapStringToModal(str) {
|
|||
);
|
||||
const splitParams = params.split(',');
|
||||
|
||||
const bodyText = `<a href="#" modalTarget="${splitParams[0]}" class="modal-text" aria-label="Modal window">${splitParams[1]}</a>`;
|
||||
const bodyText = `<a href="#" modalTarget="${splitParams[0]}" class="modal-text" role="link">${splitParams[1]}</a>`;
|
||||
|
||||
let returnVal = str.replace(linkToReplace, bodyText);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue