refactor: address Svelte compiler warnings and improve a11y/security
- Convert decorative labels to spans to fix a11y warnings in Accounts and Sites pages - Add rel="noopener noreferrer" to external links for security - Use untrack for Svelte 5 state initialization from props in e_app_sign_in_out.svelte - Make TipTap editor styles global to fix scoping warnings for dynamic content
This commit is contained in:
@@ -125,7 +125,7 @@
|
||||
<Globe size={10} /> Website
|
||||
</p>
|
||||
{#if contact.website_url}
|
||||
<a href={contact.website_url} target="_blank" class="font-bold text-secondary-500 hover:underline flex items-center gap-2 truncate">
|
||||
<a href={contact.website_url} target="_blank" rel="noopener noreferrer" class="font-bold text-secondary-500 hover:underline flex items-center gap-2 truncate">
|
||||
{contact.website_url} <Link2 size={12} />
|
||||
</a>
|
||||
{:else}
|
||||
|
||||
Reference in New Issue
Block a user