Add Application ARIA to pygame container

Add role="application" to PyGame div on TechSmart site

// ==UserScript==
// @name         Add Application ARIA to pygame container
// @namespace    https://platform.techsmart.codes/
// @version      0.1
// @description  Add role="application" to PyGame div on TechSmart site
// @author       Eli Sheldon
// @match        https://platform.techsmart.codes/code/*
// @icon         https://www.google.com/s2/favicons?domain=techsmart.codes
// @grant        none
// ==/UserScript==

function setApplicationRole() {
    document.getElementById("ts-pygame-canvas-container").setAttribute("role", "application")
}

document.addEventListener("DOMNodeInserted", setApplicationRole)