Skip to content

Commit

Permalink
corrected keyboard-accessibility for input element (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephaniequintana authored Jul 22, 2022
1 parent 6a06b54 commit 86b2ddb
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions index2.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,17 @@ <h1 style="font-size:1.5rem;line-height:3.1rem;letter-spacing:0.09rem;margin-bot

<!-- ========================= camera/image/video-controls ======================== -->
<div class="btn-toolbar mediaSelect media-tools" role="toolbar" aria-label="Toolbar with button groups">
<div class="btn-group" id="imageselect"type="button" role="group" aria-label="First group">
<label for="file-sel" data-bs-toggle="tooltip" data-bs-placement="left" title="Upload an image">
<a onClick="toggleToolbar()" class="btn-lg btn">
<i class="fa fa-upload"></i>
</a>
<input type="file" id="file-sel" class="d-none" accept="image/*,video/*">
<div class="btn-group" id="imageselect">
<label for="file-sel" tabindex="0">
<button onClick="toggleToolbar()" rel="tooltip" data-bs-placement="left" title="Upload an image" type="button" class="btn-lg btn">
<i class="fa fa-upload"></i>
</button>
<input type="file" id="file-sel" accept="image/*,video/*" class="visually-hidden" aria-hidden="true" />
</label>
</div>
<div class="btn-group labeled" role="group" aria-label="First group">
<div class="btn-group">
<button rel="tooltip" title="Connect to an Infragram webcam" id="webcam-activate" type="button" class="btn btn-lg btn-primary"><i class="fa fa-camera-retro"></i></button>
</div>

</div>


Expand Down

0 comments on commit 86b2ddb

Please sign in to comment.