Skip to content
New issue

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

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

Already on GitHub? # to your account

Remove inline_script attribute from markup #458

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

taylor-steve
Copy link
Contributor

The 'inline_script' option is leaking out as an attribute for the input element. This is getting flagged by some a11y tools. For example, from https://validator.w3.org/nu:

Error: Attribute inline_script not allowed on element [input](https://html.spec.whatwg.org/multipage/#the-input-element) at this point.

I don't think it is necessary in the markup, but alternatively we could move it to a data attribute if there's a need I'm not seeing.

Copy link
Collaborator

@grosser grosser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yeah that should be safe since it's duped above 👍

@grosser grosser merged commit a13b9e0 into ambethia:master Nov 27, 2024
@grosser
Copy link
Collaborator

grosser commented Nov 27, 2024

5.17.1

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants