This commit is contained in:
MeowcaTheoRange 2023-12-21 12:38:10 -06:00
parent be6d93b1af
commit dbf3a78906
2 changed files with 34 additions and 2 deletions

View file

@ -184,6 +184,39 @@ generatorOutputs.view.srcdoc = `<!DOCTYPE html>
<h1>Hello, world!</h1> <h1>Hello, world!</h1>
<p>This is a test.</p> <p>This is a test.</p>
<button>Wee snaw</button> <button>Wee snaw</button>
<fieldset>
<legend>Form</legend>
<label for="acc-width">Text:
<input
id="acc-width"
type="text"
style="width: 10em"
value="aggles paggles"
/>
</label><br />
<label for="acc-width">Number:
<input
id="acc-width"
type="number"
style="width: 8ch"
min="0"
value="0"
/>
</label><br />
<label for="acc-sat">Slider:
<input
id="acc-sat"
type="range"
min="0"
max="100"
value="50"
/>
</label><br />
<label for="acc-base" class="checkbox">Checkbox:
<input id="acc-base" type="checkbox" />
<span class="checkbox"></span>
</label>
</fieldset>
</body> </body>
</html>`; </html>`;

View file

@ -87,8 +87,7 @@ function createAccessibilityNodes() {
(requires reload) (requires reload)
</label> </label>
</fieldset> </fieldset>
</details> </details>`;
<style>`;
document.querySelector("#accessibility").hidden = false; document.querySelector("#accessibility").hidden = false;
accScale = document.getElementById("acc-scale"); accScale = document.getElementById("acc-scale");