a11y improvements
This commit is contained in:
parent
90e62cf5ca
commit
3fd409b266
|
@ -9,6 +9,7 @@
|
|||
routerLink="/{{ button.page }}"
|
||||
routerLinkActive
|
||||
#rla="routerLinkActive"
|
||||
ariaCurrentWhenActive="page"
|
||||
>
|
||||
<i *ngIf="!rla.isActive" class="bwi bwi-lg bwi-{{ button.iconKey }}" aria-hidden="true"></i>
|
||||
<i
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
class="tw-bg-transparent tw-border-none tw-text-main"
|
||||
type="button"
|
||||
*ngIf="showBackButton"
|
||||
title="Back"
|
||||
aria-label="Back"
|
||||
>
|
||||
<!-- not the right icon -->
|
||||
<i class="bwi bwi-angle-left tw-font-bold" aria-hidden="true"></i>
|
||||
|
|
|
@ -68,7 +68,13 @@ class MockAddButtonComponent {}
|
|||
@Component({
|
||||
selector: "mock-popout-button",
|
||||
template: `
|
||||
<button bitIconButton="bwi-external-link" size="small" type="button">Pop out</button>
|
||||
<button
|
||||
bitIconButton="bwi-external-link"
|
||||
size="small"
|
||||
type="button"
|
||||
title="Pop out"
|
||||
aria-label="Pop out"
|
||||
></button>
|
||||
`,
|
||||
standalone: true,
|
||||
imports: [IconButtonModule],
|
||||
|
|
Loading…
Reference in New Issue