Skip to content

Commit

Permalink
add some aria roles
Browse files Browse the repository at this point in the history
  • Loading branch information
eyaler committed Dec 3, 2024
1 parent 6f4f87f commit 45ed038
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion resen/taase/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<body onload="document.body.style.visibility = 'visible'">
<script>make_header()</script>
<div oncontextmenu="toggle_fullscreen(event)">
<div id="gif1" class="gif" aria-label="אנימציית סטופ־מושן של קערה מסתובבת שיוצרת אשליה אופטית של המילה תעשה"></div>
<div id="gif1" class="gif" role="img" aria-label="אנימציית סטופ־מושן של קערה מסתובבת שיוצרת אשליה אופטית של המילה תעשה"></div>
<div class="sliders" onclick="gif1.style.setProperty('--fps', rate_slider.valueAsNumber)">
<label for="rate_slider">
<button onclick="rate_slider.value = rate_slider.min">בזריזות</button>
Expand Down
16 changes: 8 additions & 8 deletions resen/zag/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
</div>
<div id="controller">
<div id="controller_dpad">
<div id="controller_left"></div>
<div id="controller_right"></div>
<div id="controller_up"></div>
<div id="controller_down"></div>
<div id="controller_left" role="button"></div>
<div id="controller_right" role="button"></div>
<div id="controller_up" role="button"></div>
<div id="controller_down" role="button"></div>
</div>
<div id="controller_select" class="capsuleBtn">Select</div>
<div id="controller_start" class="capsuleBtn">Start</div>
<div id="controller_b" class="roundBtn">B</div>
<div id="controller_a" class="roundBtn">A</div>
<div id="controller_select" class="capsuleBtn" role="button">Select</div>
<div id="controller_start" class="capsuleBtn" role="button">Start</div>
<div id="controller_b" class="roundBtn" role="button">B</div>
<div id="controller_a" class="roundBtn" role="button">A</div>
</div>
</div>
<script>
Expand Down

0 comments on commit 45ed038

Please sign in to comment.