Skip to content

Commit

Permalink
Fix web example accessibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveDesmond-ca committed Nov 28, 2024
1 parent 36763e5 commit 33c897a
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions Examples/Web/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,9 @@
<div class="container text-center">
<h1 style="color: white;">SimpleGPIO Web Example</h1>

<p>
<a href="#" onclick="fetch('/red', { method: 'POST' });" style="color: red;">Red</a>
</p>

<p>
<a href="#" onclick="fetch('/yellow', { method: 'POST' });" style="color: yellow;">Yellow</a>
</p>

<p>
<a href="#" onclick="fetch('/green', { method: 'POST' });" style="color: yellowgreen;">Green</a>
</p>

<button type="button" class="btn btn-dark" onclick="fetch('/red', { method: 'POST' });" style="color: red;">Red</button>
<button type="button" class="btn btn-dark" onclick="fetch('/yellow', { method: 'POST' });" style="color: yellow;">Yellow</button>
<button type="button" class="btn btn-dark" onclick="fetch('/green', { method: 'POST' });" style="color: yellowgreen;">Green</button>
</div>
</body>

Expand Down

0 comments on commit 33c897a

Please sign in to comment.