-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix aria label on Empty component #606
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
src/lib/components/empty.svelte
Outdated
@@ -27,7 +27,7 @@ | |||
type="button" | |||
on:click|preventDefault | |||
on:click={track} | |||
aria-label={`create {target}`}> | |||
aria-label={`create ${target}`}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Svelte has a more straightforward syntax for interpolating on HTML attributes
aria-label={`create ${target}`}> | |
aria-label="create {target}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the tip! I've updated the attribute as suggested.
The string wasn't interpolating target.
c8802be
to
32a04dd
Compare
What does this PR do?
The string wasn't interpolating target.
Test Plan
Manual
Related PRs and Issues
None
Have you read the Contributing Guidelines on issues?
Yes