Skip to content

Commit

Permalink
Merge pull request #36 from CLOSER-Cohorts/issue-21-fix-wcag-issues
Browse files Browse the repository at this point in the history
issue-21-fix-wcag-issues
  • Loading branch information
ollylucl authored Aug 2, 2024
2 parents 79debf8 + 82e3660 commit abc2bf7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,10 @@ <h1>Generate text mappings files</h1>
const createMappingsButtonDiv = document.getElementById("createMappingsButton");

const createMappingsButtonObject = document.createElement("button");

const createMappingsButtonAriaLabel = document.createElement("label");

createMappingsButtonObject.appendChild(createMappingsButtonAriaLabel)

createMappingsButtonObject.textContent = "Create mappings"

createMappingsButtonAriaLabel.innerHTML = "Create mapping files"
createMappingsButtonObject.setAttribute('aria-label', 'Create mapping files')

createMappingsButtonObject.addEventListener("click", () => handleFiles(fileList), false);

Expand Down

0 comments on commit abc2bf7

Please sign in to comment.