-
-
Notifications
You must be signed in to change notification settings - Fork 453
Open
Description
Describe the bug
In upload_modal.js has an extra comma that produces invalid HTML:
<img src="data:,", role="presentation" />
W3C HTML validator reports errors:
- Attribute "," not allowed on element "img"
- An img element must have an alt attribute
This causes the "passes HTML validation" test in accessibility_examples.rb to fail.
To Reproduce
- Go to account page
- Open avatar upload modal
- Validate HTML with W3C validator
Expected behavior
Valid HTML without extra comma:
<img src="data:," role="presentation" />
Screenshots
No response
Stacktrace
No response
Extra data
- Device:
- Device OS:
- Browser:
- Decidim Version: 0.31.0
- Decidim installation:
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status