Skip to content

Commit 19a6d16

Browse files
add aria-role:none to get rid of warning (sveltejs#522)
* add aria-role:none to get rid of warning * Apply suggestions from code review --------- Co-authored-by: Rich Harris <[email protected]>
1 parent da3e539 commit 19a6d16

File tree

2 files changed

+2
-0
lines changed
  • content/tutorial/02-advanced-svelte/01-motion/02-springs

2 files changed

+2
-0
lines changed

content/tutorial/02-advanced-svelte/01-motion/02-springs/app-a/src/lib/App.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
}}
1212
on:mousedown={() => size.set(30)}
1313
on:mouseup={() => size.set(10)}
14+
role="presentation"
1415
>
1516
<circle
1617
cx={$coords.x}

content/tutorial/02-advanced-svelte/01-motion/02-springs/app-b/src/lib/App.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
}}
1616
on:mousedown={() => size.set(30)}
1717
on:mouseup={() => size.set(10)}
18+
role="presentation"
1819
>
1920
<circle
2021
cx={$coords.x}

0 commit comments

Comments
 (0)