Skip to content

The alt attribute #13

@satourne

Description

@satourne

Hello,

The correct attribute with image tag is "alt", not "title" :

var linkImg = $("")
.attr("src", settings.imgpath + v.icon)
.attr("title",v.title)
.css({
"float": "left",
"margin-right": "5px",
"border": "1px solid #333"
})
.appendTo(listLink);

.attr("title",v.title) --> .attr("alt",v.title)

HAGD.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions