diff --git a/dashboard/src/lib/list/List.svelte b/dashboard/src/lib/list/List.svelte index d7060238..ebd1b7a6 100644 --- a/dashboard/src/lib/list/List.svelte +++ b/dashboard/src/lib/list/List.svelte @@ -1,7 +1,7 @@ @@ -156,48 +188,56 @@ {#if settings && settings.accessibility ? (!settings.accessibility.expandedcards && !settings.accessibility.pagelinks) : true} - {#each slicedList as item, index (item.id + index)} - - - - {#if isPublic || item.privacy.visibility === "public"} + + + toggleCard(index)} on:keydown={(e) => skipToNextItem(e, index)}> + + + {#if isPublic || item.privacy.visibility === "public"} + {#if itemType === "member"} + + {:else if itemType === "group"} + + {/if} + {:else} + + {/if} + + + + + + {#if itemType === "member"} - + {:else if itemType === "group"} - + {/if} - {:else} - - {/if} - - - {#if itemType === "member"} - - {:else if itemType === "group"} - - {/if} - + + + {/each} - {:else if settings.accessibility.expandedcards} {#each slicedList as item, index (item.id + index)} - - - - {#if isPublic || item.privacy.visibility === "public"} - {#if itemType === "member"} - - {:else if itemType === "group"} - - {/if} - {:else} - - {/if} - - - + skipToNextItem(e, index)} tabindex={0}> + + + + {#if isPublic || item.privacy.visibility === "public"} + {#if itemType === "member"} + + {:else if itemType === "group"} + + {/if} + {:else} + + {/if} + + + + {#if itemType === "member"} @@ -211,7 +251,7 @@ {#each slicedList as item, index (item.id + index)} - + skipToNextItem(e, index)} use:link > {#if isPublic || item.privacy.visibility === "public"} @@ -225,7 +265,7 @@ {/if} - + {/each}