+
+
+
{group.displayName}
-
-
- {#each Object.keys(selected) as key}
-
- {/each}
-
+
+
+ {#each Object.keys(selected) as key}
+
+ {/each}
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/lib/components/Table/ColumnsMenu.svelte b/src/lib/components/Table/ColumnsMenu.svelte
index 38f3756f..09499d67 100644
--- a/src/lib/components/Table/ColumnsMenu.svelte
+++ b/src/lib/components/Table/ColumnsMenu.svelte
@@ -16,6 +16,7 @@
type="button"
class="btn btn-sm variant-filled-primary rounded-full order-last"
aria-label="Open menu to hide/show columns"
+ title="Open menu to hide/show columns"
use:popup={popupCombobox}>Columns
@@ -26,9 +27,10 @@
{#each columns as column}
c.visible).length === 1 && column.visible}
/>
{column.label}
diff --git a/src/lib/components/Table/TableContent.svelte b/src/lib/components/Table/TableContent.svelte
index c30610a4..f3c246f6 100644
--- a/src/lib/components/Table/TableContent.svelte
+++ b/src/lib/components/Table/TableContent.svelte
@@ -404,12 +404,14 @@
type="text"
bind:value={searchValue}
placeholder="Search rows..."
+ title="Search rows"
id="{tableId}-search"
/>
@@ -517,6 +526,11 @@
class:cursor-pointer={!props.sort.disabled}
on:click={props.sort.toggle}
on:keydown={props.sort.toggle}
+ title={props.sort.order === 'asc'
+ ? `Sort by ${cell.label} column in descending order`
+ : props.sort.order === 'desc'
+ ? `Remove sorting by ${cell.label} column`
+ : `Sort by ${cell.label} column in ascending order`}
>
{cell.render()}
diff --git a/src/lib/components/Table/TableFilter.svelte b/src/lib/components/Table/TableFilter.svelte
index 2284f337..a1b3e5e2 100644
--- a/src/lib/components/Table/TableFilter.svelte
+++ b/src/lib/components/Table/TableFilter.svelte
@@ -240,7 +240,8 @@
type="button"
use:popup={popupFeatured}
id="{popupId}-button"
- aria-label="Open filter menu for column {id}"
+ aria-label="Open filter menu for {id} column"
+ title="Open filter menu for {id} column"
>
@@ -251,6 +252,7 @@
class="btn variant-filled-primary btn-sm"
type="button"
aria-label="Clear Filters"
+ title="Clear Filters"
on:click|preventDefault={() => {
// Set the defaults when cleared
clearFilters();
@@ -269,6 +271,7 @@
@@ -328,6 +335,7 @@
addFilter(remainingFilters[0].value, undefined);
}}
aria-label="Add filter"
+ title="Add filter"
>
Add Filter
@@ -336,6 +344,7 @@
class="btn variant-filled-primary btn-sm"
type="button"
aria-label="Apply filters"
+ title="Apply filters"
on:click|preventDefault={() => {
$pageIndex = 0;
$filterValue = $filters[id];
diff --git a/src/lib/components/Table/TablePagination.svelte b/src/lib/components/Table/TablePagination.svelte
index 51cdf0c3..683d9fde 100644
--- a/src/lib/components/Table/TablePagination.svelte
+++ b/src/lib/components/Table/TablePagination.svelte
@@ -63,7 +63,8 @@
-->
@@ -105,6 +108,7 @@
value={$pageIndex + 1}
max={$pageCount}
aria-label="Current page"
+ title="Current page"
min={1}
on:change={handleChange}
/>
@@ -112,12 +116,14 @@
class="btn btn-sm variant-filled-primary"
id="{id}-next"
aria-label="Go to next page"
+ title="Go to next page"
on:click|preventDefault={goToNextPage}
disabled={goToNextPageDisabled}>