Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix(tree-table): Fixes an issue where aria-level should start countin…
Browse files Browse the repository at this point in the history
…g at 1.
  • Loading branch information
tomheller committed May 4, 2021
1 parent fe15ef4 commit 94440e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/barista-components/tree-table/src/tree-table-row.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { DtTreeTable } from './tree-table';
templateUrl: 'tree-table-row.html',
host: {
'[attr.aria-expanded]': '_isExpanded',
'[attr.aria-level]': '_level',
'[attr.aria-level]': '_level + 1',
role: 'row',
class: 'dt-tree-table-row',
},
Expand Down

0 comments on commit 94440e1

Please sign in to comment.