Opened 7 years ago
Closed 7 years ago
#42010 closed defect (bug) (duplicate)
Native image widget target attribute issue
Reported by: | jordanwebdev | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.8.2 |
Component: | Widgets | Keywords: | |
Focuses: | accessibility | Cc: |
Description
The newly introduced image widget automatically adds an empty target attribute to the img element that it generates. However, this causes a validation error on https://validator.w3.org. The attribute should not be automatically added, unless specified to do so.
Change History (4)
#1
in reply to:
↑ description
@
7 years ago
Note: See
TracTickets for help on using
tickets.
I meant to say that the empty target attribute gets added to the link tag that gets generated when the image is selected to link somewhere, not the img element itself. In my specific case, I've chosen the Custom URL option.
Replying to jordanwebdev: