Skip to content

Commit c11f1bb

Browse files
authored
Merge pull request #2582 from stanislavgeorgiev/issue-2551
fix(table-toolbar): Fix a11y violations
2 parents fe225ad + 6e4612c commit c11f1bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/table/toolbar/table-toolbar.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ import { TableRowSize } from "../table.types";
4848
template: `
4949
<section
5050
class="bx--table-toolbar"
51-
[ngClass]="{'bx--table-toolbar--small' : size === 'sm'}">
51+
[ngClass]="{'bx--table-toolbar--small' : size === 'sm'}"
52+
[attr.aria-label]="actionBarLabel.subject | async">
5253
<div
5354
*ngIf="model"
5455
class="bx--batch-actions"
5556
[ngClass]="{
5657
'bx--batch-actions--active': selected
57-
}"
58-
[attr.aria-label]="actionBarLabel.subject | async">
58+
}">
5959
<div class="bx--action-list">
6060
<ng-content select="ibm-table-toolbar-actions"></ng-content>
6161
<button

0 commit comments

Comments
 (0)