Skip to content

Commit

Permalink
aria and purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Keating committed Aug 2, 2023
1 parent 21269ee commit df8d989
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"short_name": "nvAux",
"description": "the note-taking app for creative professionals",
"icons": [
{ "src": "favicon.png", "type": "image/png", "sizes": "192x192" },
{ "src": "favicon.png", "type": "image/png", "sizes": "512x512" }
{ "src": "favicon.png", "type": "image/png", "sizes": "192x192", "purpose": "maskable" },
{ "src": "favicon.png", "type": "image/png", "sizes": "512x512", "purpose": "maskable" }
],
"start_url": "/",
"display": "standalone",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/DownloadNotesZip.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
};
</script>

<button on:click={handleDownloadZip} class="btn bg-gray-800" style="font-size: 14px;">
<button aria-label="Download Notes" on:click={handleDownloadZip} class="btn bg-gray-800" style="font-size: 14px;">
Download Notes
</button>
1 change: 1 addition & 0 deletions src/lib/NoteList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
<span
class="elipsis"
role="button"
aria-label="Note Preview"
tabindex="-1"
on:dblclick={() => document.getElementById('body-editor').focus()}
>
Expand Down
1 change: 1 addition & 0 deletions src/lib/OmniBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
/>
{#if $omniText !== ''}
<button
aria-label="Clear Search"
class="bg-transparent flex items-center px-2 py-1.5"
style="color: #404856;"
on:click={() => {
Expand Down
1 change: 1 addition & 0 deletions src/lib/ResizeHandle.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@
class="w-full resize-bar select-none row-resize"
style="background: var(--app-resizer-background); height: 15px;"
role="button"
aria-label="Resize Note List"
tabindex="-1"
/>
1 change: 1 addition & 0 deletions src/lib/Settings.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
<div class="font-bold">Dangerzone</div>

<button
aria-label="Reset Database"
on:click={handleDeleteCollection}
class="btn"
style="background: #b41111; margin-top: 10px;">Reset Database</button
Expand Down

0 comments on commit df8d989

Please sign in to comment.