feat(dashboard): imporve keyboard navigation

This commit is contained in:
Draconizations 2022-05-20 12:28:55 +02:00
parent 74aa9663f0
commit 857eda0629
2 changed files with 3 additions and 1 deletions

View File

@ -43,6 +43,8 @@
</Col>
</Row>
<Button style="flex: 0" color="primary" on:click={() => editMode = true} aria-label="edit system privacy">Edit</Button>
<Link to="/dash/bulk-member-privacy"><Button style="flex: 0" color="secondary" tabindex={-1}>Bulk member privacy</Button></Link>
<Link to="/dash/bulk-group-privacy"><Button style="flex: 0" color="secondary" tabindex={-1}>Bulk group privacy</Button></Link>
{/if}
</CardBody>
</Card>

View File

@ -99,7 +99,7 @@
{:else}
<p>Welcome!</p>
{/if}
<Link to="/dash"><Button style="float: left;" color='primary'>Go to dash</Button></Link><Button style="float: right;" color='danger' on:click={logout}>Log out</Button>
<Link to="/dash"><Button style="float: left;" color='primary' tabindex={-1}>Go to dash</Button></Link><Button style="float: right;" color='danger' on:click={logout}>Log out</Button>
{:else}
<Row>
<Label>Enter your token here. You can get this by using <b>pk;token</b></Label>