Skip to content

Commit

Permalink
Add ARIA labels for a11y.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmiegit committed Sep 18, 2024
1 parent 4455110 commit 8ca82a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framerail/src/lib/popup/error.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
})
</script>

<div class="modal-container" on:click={containerExitPrompt} on:keydown={escKeydown}>
<div class="modal-container" on:click={containerExitPrompt} on:keydown={escKeydown} role="dialog" aria-labelledby="modal-title" aria-describedby="modal-message">
<div class="modal error-modal">
<h2>UT: Error</h2>
<div class="modal-message">
<h2 id="modal-title">UT: Error</h2>
<div class="modal-message" id="modal-message">
{$showErrorPopup.message}
</div>
</div>
Expand Down

0 comments on commit 8ca82a1

Please sign in to comment.