Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement dialog for keyboard shortcuts #622

Conversation

g547315
Copy link
Contributor

@g547315 g547315 commented Aug 9, 2023

No description provided.

@@ -1515,6 +1522,11 @@
element.setAttribute('class', attrs.className);
}

if (attrs.dialogText !== undefined) {
element.setAttribute('aria-live', 'polite');
element.innerHTML = `<p>${attrs.dialogText}</p>`;

Check warning

Code scanning / CodeQL

Unsafe HTML constructed from library input Medium

This HTML construction which depends on
library input
might later allow
cross-site scripting
.
This HTML construction which depends on
library input
might later allow
cross-site scripting
.
This HTML construction which depends on
library input
might later allow
cross-site scripting
.
This HTML construction which depends on
library input
might later allow
cross-site scripting
.
@g547315 g547315 closed this Sep 1, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant