a11y polish
This commit is contained in:
1 parent
235b4314a4
commit
d53d87f1bc
9 files changed
+59
-40
No files matched your search
@@ -12,6 +12,7 @@ function updateResults(elem) {
|
||||
var iBody = document.createElement('body');
|
||||
|
||||
var codeFrame = document.createElement('iframe');
|
||||
codeFrame.setAttribute("title", "live-code-results-" + resultsContainer.getAttribute("data-qid"));
|
||||
codeFrame.setAttribute("width", "100%");
|
||||
codeFrame.setAttribute("height", "100%");
|
||||
resultsContainer.appendChild(codeFrame);
|
||||
@@ -27,6 +28,7 @@ function updateResults(elem) {
|
||||
codeStyle.appendChild(rulesNode);
|
||||
iHead.appendChild(codeStyle);
|
||||
|
||||
iDoc.setAttribute('lang', 'en');
|
||||
iDoc.appendChild(iHead);
|
||||
iBody.innerHTML = codeHtml;
|
||||
iDoc.appendChild(iBody);
|
||||
|
||||
Reference in new issue
Block a user