{"action":"created","issue":{"url":"https://api.github.com/repos/malchata/yall.js/issues/36","repository_url":"https://api.github.com/repos/malchata/yall.js","labels_url":"https://api.github.com/repos/malchata/yall.js/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/malchata/yall.js/issues/36/comments","events_url":"https://api.github.com/repos/malchata/yall.js/issues/36/events","html_url":"https://github.com/malchata/yall.js/issues/36","id":392702217,"node_id":"MDU6SXNzdWUzOTI3MDIyMTc=","number":36,"title":"Can div or span be used instead of img?","user":{"login":"galvarez421","id":12755056,"node_id":"MDQ6VXNlcjEyNzU1MDU2","avatar_url":"https://avatars3.githubusercontent.com/u/12755056?v=4","gravatar_id":"","url":"https://api.github.com/users/galvarez421","html_url":"https://github.com/galvarez421","followers_url":"https://api.github.com/users/galvarez421/followers","following_url":"https://api.github.com/users/galvarez421/following{/other_user}","gists_url":"https://api.github.com/users/galvarez421/gists{/gist_id}","starred_url":"https://api.github.com/users/galvarez421/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galvarez421/subscriptions","organizations_url":"https://api.github.com/users/galvarez421/orgs","repos_url":"https://api.github.com/users/galvarez421/repos","events_url":"https://api.github.com/users/galvarez421/events{/privacy}","received_events_url":"https://api.github.com/users/galvarez421/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-12-19T17:21:45Z","updated_at":"2018-12-20T17:31:55Z","closed_at":"2018-12-20T17:31:55Z","author_association":"NONE","body":"Does this plugin support using a div or span instead of an img tag to lazy load an image? My use case is that I don't want to use a placeholder image and would like to use a generic div or span element to indicate where the lazy-loaded image should render because I don't want to use an img element where it is it not semantically valid to do so."},"comment":{"url":"https://api.github.com/repos/malchata/yall.js/issues/comments/449076066","html_url":"https://github.com/malchata/yall.js/issues/36#issuecomment-449076066","issue_url":"https://api.github.com/repos/malchata/yall.js/issues/36","id":449076066,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTA3NjA2Ng==","user":{"login":"malchata","id":1635238,"node_id":"MDQ6VXNlcjE2MzUyMzg=","avatar_url":"https://avatars3.githubusercontent.com/u/1635238?v=4","gravatar_id":"","url":"https://api.github.com/users/malchata","html_url":"https://github.com/malchata","followers_url":"https://api.github.com/users/malchata/followers","following_url":"https://api.github.com/users/malchata/following{/other_user}","gists_url":"https://api.github.com/users/malchata/gists{/gist_id}","starred_url":"https://api.github.com/users/malchata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malchata/subscriptions","organizations_url":"https://api.github.com/users/malchata/orgs","repos_url":"https://api.github.com/users/malchata/repos","events_url":"https://api.github.com/users/malchata/events{/privacy}","received_events_url":"https://api.github.com/users/malchata/received_events","type":"User","site_admin":false},"created_at":"2018-12-20T17:31:55Z","updated_at":"2018-12-20T17:31:55Z","author_association":"OWNER","body":"I see @leeoniya has more or less made my argument for me, but I'll take my own stab at it, too.\r\n\r\nI don't see the value of allowing `<span>`s or `<div>`s to be used where an `<img>` element has inherently better readability, SEO, and accessibility traits. HTML fails softly. Though `src` is a required attribute, the lack of an `src` attribute doesn't inhibit browsers from taking advantage of what's best about `<img>`. An `src`-less `<img>` tag still carries many benefits over `<span>` and `<div>`.\r\n\r\nFeel free to continue discussion, but I'm closing this issue for now, as I don't intend to implement this feature request."}}
{"actor":{"display_login":"malchata"}}