Skip to content

Commit

Permalink
Added alt tag
Browse files Browse the repository at this point in the history
This now conforms to standards complience
  • Loading branch information
lukem512 committed Mar 9, 2014
1 parent 07f829d commit 6253c2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qrcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ var QRCode;
this._oContext = this._elCanvas.getContext("2d");
this._bIsPainted = false;
this._elImage = document.createElement("img");
this._elImage.alt = "Scan me!";
this._elImage.style.display = "none";
this._el.appendChild(this._elImage);
this._bSupportDataURI = null;
Expand Down

0 comments on commit 6253c2a

Please sign in to comment.